简体   繁体   中英

$(document).ready not work in IE 7

i am using following code in other browser(mozilla, chrome etc.) then working fine but if i use that same code in IE 7 then it's not working(work in IE 8+). no error given to me.

$(document).ready(function(){   
    alert("hello");
});

I am guessing that there might be an error above the jQuery code block which might be stopping the execution on IE7.

Do this - load the page on IE7. On the bottom-left corner of the browser, if there's a yellow symbol double click on it and see what line is causing the execution to fail.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM