IE8 and JQuery Journal

2010 February 18
by Karen

2/15/2010 4:30pm

So after creating bunch of scripts for demos for OCLC and teaching workshops, I discovered that several of them don’t work in Internet Explorer 8. Its a little difficult for me to test IE8 because I’m a Mac user that doesn’t have a copy of Windows easily at her disposal. That plus the fact that JQuery is suppose to be “cross-browser compatible” makes me a not always test IE when I’m in a hurry.
Unfortunately, Jquery isn’t as cross browser compatible as I’d like. So I’m going back to revisit some Javascript code. Most of the problems I’ve been able by upgrading to the latest version of JQuery and debugging in my code in IE8′s developer tool. Which is pretty darn helpful. My only compliant is that it doesn’t have a Show Generated Source button, or at least not one I can find.

So I’m left with two errors where IE8 just refuses to run my JQuery functions. No error message, nothing. It has left me feeling like I’m walking through brambles in the Maine woods. Sigh.

2/15/2010 8:03pm

The saga continues. It turns out that one of my issues is that IE8 won’t let you append invalid HTML. So in my case I had to build the whole unordered list before I could append it. Makes sense and also doing it this way improved my Javascripts performance significantly. Just have one set of IE8 bugs left to fix. More on those later.

2/18/2010 10:47am

JQuery issues in IE solved. Posted updated instructions on peer reviewed script. Some of my problems revolved around incorrect script tags. The others were with the script I wrote to create JSON, creating invalid JSON.

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS