Skip to main content

onload - jquery 1.3.2 initial load fails on (document).ready in ie8, but works on refresh -


using jquery 1.3.2.min, ui.1.7.3.min & main.js script functions. have strange behavior on ie8.

when load page scripts download fully, jq not fire

script16389: failed jquery.132.min.js, line 19 character 5841 

three conditions can change behavior

  1. refresh page , works fine
  2. add alert first line , works fine.
  3. including main.js in page rather include

for example

$(document).ready(function(){ alert("now works!); 

any theories or suggestions, code on reload or alert works 100%

thx art

onload - jquery 1.3.2 initial load fails on (document).ready in ie8, works on refresh - stack overflow

learn, share, build

each month, on 50 million developers come stack overflow learn, share knowledge, , build careers.

join world’s largest developer community.

sign up

using jquery 1.3.2.min, ui.1.7.3.min & main.js script functions. have strange behavior on ie8.

when load page scripts download fully, jq not fire

script16389: failed jquery.132.min.js, line 19 character 5841 

three conditions can change behavior

  1. refresh page , works fine
  2. add alert first line , works fine.
  3. including main.js in page rather include

for example

$(document).ready(function(){ alert("now works!); 

any theories or suggestions, code on reload or alert works 100%

thx art

share|improve question

your answer

 
discard

posting answer, agree privacy policy , terms of service.

browse other questions tagged or ask own question.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -