打开模态时如何设置URL
打开模式时,我想将变量传递到URL中。为此,我正在使用jQuery设置URL,然后打开模式。
现在我的问题是,即使我尝试使用jQuery .modal('show')打开模态,即使模态正在关闭
value = 5;
window.location = 'http://localhost:8080/gorr/send.php?o=histlist&sid=value;
$('#sendCertificatesModal').modal('show');
I would like to pass a variable into the url when the modal is opened. To achieve that i'm using jquery to set url and then open the modal.
Now my problem is that the modal is getting closed even if i try to open it with jquery .modal('show')
value = 5;
window.location = 'http://localhost:8080/gorr/send.php?o=histlist&sid=value;
$('#sendCertificatesModal').modal('show');
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论