I would like to replace the native javascript alert() with my own, so that I would be able to control the theme and have it more JQueryUI look and feel. I\'ve tried numerous alt
You can easily mimic the synchronicity of regular js alerts using jQueryUI Dialog boxes. Simply use the events provided -- in this case, close, which is called when you close a dialog box:
Dialog
Another dialog
$("#dialog").dialog({
close: function(event, ui) {
$("#dialog2").dialog();
}
});
Now, when you close the first dialog, the second opens.