下面的代碼是我的彈出視圖...我想關閉彈出窗口上點擊關閉按鈕(X)這是在彈出式頂部...在視圖的底部我有jquery關閉popup..but那不是working..i有像父母彈出和兒童的另一個popup..just彈出popup.and在這種情況下,我不得不關閉彈出的孩子......請幫我使用jquery關閉模式彈出框
<div class="modal-dialog" style="width:1056px" id="pop">
<div class="modal-content">
<div class="modal-header">
<input type="button" onclick="close()" id="button" value="Close [x]" />
</div>
<div class="modal-body">
<div class="scroller">
<table class="display table table-striped table-bordered table-hover" id='tblTicket' cellspacing="0" width="100%">
<thead>
<tr>
<th>Data</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data</td>
</tr>
</tbody>
</table>
<table class="display table table-striped table-bordered table-hover" id='tblTicket' cellspacing="0" width="100%">
<tr>
<th>DATA</th>
</tr>
@foreach (var item in Model)
{
<tr>
<td>
data
</td>
</tr>
}
</table>
</div>
</div>
</div>
</div>
<script type="text/javascript" language="javascript">
$("#button").click(function() {
$("#pop").close
});
</script>
[關閉引導模態(的可能的複製https://stackoverflow.com/questions/16493280/close-bootstrap-modal ) – Curiousdev