Internet Explorer "Stop Running this script?" Issue With Tables larger than 200 rows.

Internet Explorer "Stop Running this script?" Issue With Tables larger than 200 rows.

dneedlesdneedles Posts: 24Questions: 0Answers: 0
edited March 2010 in General
No problems on Firefox but IE seems to not like scripts that run for more than a second. So when the datatables javascript set up takes 1-3 seconds IE sends up to 3 messages at the user recommending killing the script.

Beyond changing IE settings on every persons browser is there a way to prevent this message from appearing?

Replies

  • dneedlesdneedles Posts: 24Questions: 0Answers: 0
    Has no one seen this as well?
  • allanallan Posts: 63,531Questions: 1Answers: 10,474 Site admin
    One second seems like a very short amount of time for this to happen. And 200 rows is a very short table for this to happen. Are you applying events to the table, or doing anything complicated with it at all? I've used tables which are 1000+ rows no problem in IE (particularly after the optimisations that were in 1.6.1).

    Allan
  • dneedlesdneedles Posts: 24Questions: 0Answers: 0
    edited March 2010
    Thanks for the follow up. I checked and I had 1.6.0 of jquery.dataTables.js. I upgraded to 1.6.2 and the issue went away. Also the response time was much faster. The issue never occurred with Firefox only with IE btw.
  • allanallan Posts: 63,531Questions: 1Answers: 10,474 Site admin
    Excellent - thanks for the follow up :-). Good to here that the optimisations in 1.6.x have had a "real world" effect :-)

    Regards,
    Allan
  • dneedlesdneedles Posts: 24Questions: 0Answers: 0
    Yep clearly what ever you did between 1.6.0 and 1.6.2 fixed everything. 8-)
This discussion has been closed.