Jquery Dialog Issue with Internet Explorer

  • ScottG
  • Proficient
  • Proficient
  • ScottG
  • Posts: 477

Post 3+ Months Ago

I'm having a big issue with the use of the Jquery dialog boxes and once more it's with my Arch Nemesis :banghead: 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.
Image

And the debugger shows this
Image

This crash seems to happen when a dialog box opens - closes and another opens - closes ..... even with delays in between.

Code example

HTML
HTML Code: [ Select ]
<div id="message_box">
    <div id="message_box_text" name="message_box_text"></div>
</div>
 
  1. <div id="message_box">
  2.     <div id="message_box_text" name="message_box_text"></div>
  3. </div>
  4.  


JavaScript
JAVASCRIPT Code: [ Select ]
 
$("#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');       
    }
});
 
 
  1.  
  2. $("#message_box").dialog({
  3.     width: "500",
  4.     autoOpen: false,
  5.     show: "blind",
  6.     hide: "blind",
  7.     modal:true,
  8.     closeOnEscape: false
  9. });
  10.  
  11. // Set the text
  12. $("#message_box_text").html('The user(s) were deleted.');
  13.  
  14. // Set the title
  15. $('#message_box').dialog('option', 'title', 'Delete Confirmation');
  16.          
  17. // Change the function
  18. $("#message_box").dialog('option', 'buttons', {
  19.     'Ok': function() {
  20.         $(this).dialog('close');       
  21.     }
  22. });
  23.  
  24.  


Opening and closing and opening and closing and so on will cause IE to crash.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ScottG
  • Proficient
  • Proficient
  • ScottG
  • Posts: 477

Post 3+ Months Ago

For those looking for a working example of this issue here is the most basic example of the error. ONLY IE 9 CRASHES

http://www.indefinitedesigns.com/test3.php

Any help with this would be greatly appreciated.
  • ScottG
  • Proficient
  • Proficient
  • ScottG
  • Posts: 477

Post 3+ Months Ago

I Feel like I want to throw a party!!! Jquery has already fixed this issue in there newer versions of Jquery.

My Issue is resolved.
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9090
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Good to know, glad you were able to resolve it by just updating jQuery :)
  • ScottG
  • Proficient
  • Proficient
  • ScottG
  • Posts: 477

Post 3+ Months Ago

Ya I'm glad I tried that before making a hack to fix it. I couldn't find anyone having the same issue I was having but I just happened to find an issue similar to mine just not using dialog boxes. It was marked fixed so I updated and no crashing. If I would have done that earlier it could have saved me about an hour of frustration.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: VanessaGilbert and 141 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.