Dialog question
Dialog question
Is there a way to have multiple dialogs on one page opening and re-opening without having to repost the form? Right now I just call a reLoad() function inside the close so that the same Dialog can be re-opened. The reason I need this is I have several dialogs with videos embedded in them and users want to be able to open them more than once. Here is my code:
- jQuery(document).ready(function () {
jQuery("#bn").dialog({
bgiframe: true,
autoOpen: false,
height: 470,
width: 650,
modal: true,
close: function () {
$("#bn").dialog("destroy");
reLoad();
}
});
});
- function reLoad() {
// jQuery.post();
document.forms["form1"].submit();
}
Thanks,
Sam