0
我們如何使用一個按鈕來打開更多的jQuery對話框?每次點擊新增jQuery對話框
<script>
$(document).ready(function() {
$("#private1").dialog({
beforeClose: function(event, ui) {
removeprivate();
},
width: 460,
height: 300,
closeOnEscape: false,
hide: "fadeout",
resizable: false,
}
);
});
</script>
<div id="dialog" title="hi"></div>
我想要點擊鏈接打開一個對話框,當再次點擊時打開另一個對話框等等。