Twitter bootstrap 3 隐藏引导模式而不重新加载页面

Twitter bootstrap 3 隐藏引导模式而不重新加载页面,twitter-bootstrap-3,bootstrap-modal,Twitter Bootstrap 3,Bootstrap Modal,当我使用bootstrap 3模式时,当我关闭它时,页面会重新加载,/?会添加到位置字符串中。如何在不重新加载页面的情况下关闭并隐藏模式?关闭模式的按钮需要具有数据关闭属性,并且该属性应等于“模式” ×; 这段代码直接来自Bootstrap网站()您没有回复@Kro91 Answer。至少你应该回答。 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><sp

当我使用bootstrap 3模式时,当我关闭它时,页面会重新加载,
/?
会添加到位置字符串中。如何在不重新加载页面的情况下关闭并隐藏模式?

关闭模式的按钮需要具有数据关闭属性,并且该属性应等于“模式”

×;

这段代码直接来自Bootstrap网站()

您没有回复@Kro91 Answer。至少你应该回答。
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>