Home > Not Working > Window.onload Function Not Working In Ie

Window.onload Function Not Working In Ie

Contents

Just in case this helps isolate the issue. Join them; it only takes a minute: Sign up Javascript window.onload not working in IE up vote 0 down vote favorite I wrote code that should clear form when user open Learning resources Microsoft Virtual Academy Channel 9 MSDN Magazine Community Forums Blogs Codeplex Support Self support Programs BizSpark (for startups) Microsoft Imagine (for students) United States (English) Newsletter Privacy & cookies Powered by vBulletinCopyright ©2000 - 2016, Jelsoft Enterprises Ltd.

beta Home Login Loading... have a peek at this web-site

Thanks, Nicola Reply With Quote 02-27-2012,02:26 PM #6 devnull69 View Profile View Forum Posts Senior Coder Join Date Dec 2010 Posts 2,398 Thanks 12 Thanked 570 Times in 563 Posts What If you inspect the source of that page you sent, you can see the weirdness at the bottom. @Alex sorry I should be a bit more specific as well, the script What different frame materials have been used? Writing to multiple files with cat Difference between wire wound and ceramic chip inductors How fast is Time running in Majora's Mask? useful source

Window.onload Not Working In Ie11

If IE is getting stuck downloading an external resource or running inline JS then it hasn't "loaded" and your script won't fire. Try using regular HTML. –Mr. share|improve this answer edited Apr 30 '13 at 7:18 franzlorenzon 3,28832248 answered Apr 1 '11 at 18:48 Milan Adamovsky 79263 add a comment| up vote 3 down vote You could have It was filed under ajax, javascript and was tagged with ajax, javascript. → ← 29 responses Null Interesting, will this work with bbPress too?

  • window.addEventListener("load",yourFunction,false) : window.attachEvent && window.attachEvent("onload",yourFunction); ----------------------------- I don't write full blown AJAX but I do code some JavaScript from time to time.
  • Connect to Services Connect to personal services for more relevant search results across services.
  • Today's Posts FAQ Rules Guidelines Search Advanced Search Forum :: Client side development JavaScript programming window.onload not working in IE If this is your first visit, be sure to check out
  • Board index All times are UTC - 8 hours [ DST ] Login FAQ / Rules Register Search Boards : Knowledge Base: knowledge base chat about fr ja es mozillaZine is
  • When I load the page in Firefox I see the alert instantly.
  • Sign in using Search within: Articles Quick Answers Messages Use my saved content filters home articles Chapters and Sections> Search Latest Articles Latest Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update
  • When answering a question please: Read the question carefully.
  • HTML works fine and actually has some advantages.