注意是:layer彈窗
ll
<button class="btn btn-danger" onclick="javascript:closethis()"><i class="icon-remove icon-white"></i> Delete</button> <!-- 按鈕的單擊事件 -->
<script type="text/javascript">
function closethis() {
var index = parent.layer.getFrameIndex(window.name);
parent.layer.close(index);
}
</script>
//關閉彈窗
