How can we use one button to open more one jQuery dialog ?
<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>
I want when click link open one dialog and when click again open another dialog and more.
for live demo see this link: http://jsfiddle.net/nanoquantumtech/sqdkB/