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.
Posted On: Thursday, January 24th, 2008 @ 6:14 pm by Ian Tearle
If you would like to discuss anything about this post, please be polite and add your comments below.
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".
If you would like to discuss anything about your next project please drop me a line.
Projects start at £99.00 per month
We normally book 2–3 months in advance.
No matter how small your project is, or if the prices above scare you, please do get in touch, I shall always listen and will advise freely alternative ideas or solutions. If you are a charity, let's talk!