I'm having a big issue with the use of the Jquery dialog boxes and once more it's with my Arch Nemesis
Internet Exploder, Oh I hate you so IE. However I have to have this working in IE 9 the company has a strict IE usage policy so much so that they blocked the ability to even download let alone install any other browser.
So the root of the problem I'm having is this. This site uses dialog boxes all over. The issue is that when a box opens then closes and another one opens. I tends to sometimes crash IE All my IE debugger tells me is.

And the debugger shows this

This crash seems to happen when a dialog box opens - closes and another opens - closes ..... even with delays in between.
Code example
HTML
<div id="message_box">
<div id="message_box_text" name="message_box_text"></div>
</div>
- <div id="message_box">
- <div id="message_box_text" name="message_box_text"></div>
- </div>
-
JavaScript
$("#message_box").dialog({
width: "500",
autoOpen: false,
show: "blind",
hide: "blind",
modal:true,
closeOnEscape: false
});
// Set the text
$("#message_box_text").html('The user(s) were deleted.');
// Set the title
$('#message_box').dialog('option', 'title', 'Delete Confirmation');
// Change the function
$("#message_box").dialog('option', 'buttons', {
'Ok': function() {
$(this).dialog('close');
}
});
-
- $("#message_box").dialog({
- width: "500",
- autoOpen: false,
- show: "blind",
- hide: "blind",
- modal:true,
- closeOnEscape: false
- });
-
- // Set the text
- $("#message_box_text").html('The user(s) were deleted.');
-
- // Set the title
- $('#message_box').dialog('option', 'title', 'Delete Confirmation');
-
- // Change the function
- $("#message_box").dialog('option', 'buttons', {
- 'Ok': function() {
- $(this).dialog('close');
- }
- });
-
-
Opening and closing and opening and closing and so on will cause IE to crash.