Twitter bootstrap 引导程序中模式对话框中的href
这是我的第一个引导项目。如果用户在模式对话框中单击yes按钮,我会尝试打开url。但它不会像怀疑的那样起作用: 这是我的代码:Twitter bootstrap 引导程序中模式对话框中的href,twitter-bootstrap,button,modal-dialog,Twitter Bootstrap,Button,Modal Dialog,这是我的第一个引导项目。如果用户在模式对话框中单击yes按钮,我会尝试打开url。但它不会像怀疑的那样起作用: 这是我的代码: <div class="modal inmodal fade" id="myModal6" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog modal-sm">
<div class="modal inmodal fade" id="myModal6" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title">Delete?</h4>
</div>
<div class="modal-body">
<p><strong>You like to delete the files?</strong></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-white" data-dismiss="modal">No</button>
<button type="button" class="btn btn-primary" href="index.php?delete=yes">Yes</button>
</div>
</div>
</div>
</div>
&时代;接近
删除?
要删除文件吗?
不
对
“是”按钮不起作用。也许有人能帮我 尝试这样的标签,而不是按钮
<a class="btn btn-primary" href="index.php?delete=yes">Yes</a>