Ian Tearle

is finding it hard to find inspiration.

Updated 4 days, 18 hours, 35 minutes ago

Javascript Goodness

Javascript IE Stumbles!

by Ian Tearle 3:04pm Thursday, Jan 24


I thought I may post this little hint at the woes of Internet Explorer. Whilst creating an application laden with Javascript, testing with Firefox, and the wonder that is Firebug, all seems well.
But then comes the dreaded IE game. For some reason my Javascript failed to do what it was supposed to do. That some reason ended up being a COMMA. yes my friends, a ,! trailing at the end of a function IE gives up when it thinks the script carries on and starts looking for the rest of the code, when it cant find it, IE will give up on Javascript all together.

So next time you are pulling your hair out, just check for those commas with nothing proceeding it. That will be what Internet Explorer is moaning about, pretty much guaranteed.

There are no comments on this entry. You should add one.

Post A Comment

* Required Fields
No HTML is allowed. All links, and new lines will be automagically converted to HTML for you.
Notice to spammers, all links will be sanitized with rel="nofollow".

*
*

*