[英]Bootstrap/jQuery modal not functioning properly
I have the following page: 我有以下页面:
http://www.poker-labs.com/571010001-1050-Super-Tuesday-300K-Gtd.html http://www.poker-labs.com/571010001-1050-Super-Tuesday-300K-Gtd.html
As you can see, for some reason the modal is launched initially although I have defined show: false
, also, the 'x' button should be working but it's not. 如您所见,由于某种原因,虽然我已经定义了
show: false
,但最初还是启动了模态,同样,“ x”按钮应该可以,但不能。
I feel like I'm missing something pretty basic 我觉得我缺少一些基本的东西
Have you added 你加了吗
$(".modal").modal("hide");
To your page? 到您的页面? Also, add:
另外,添加:
<div class="modal hide fade">
To your div tag where you declare the modal 在您的div标记中声明模态
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.