01st Sep2006

Love AJAX – Hate Debugging It

by Jon Beattie

I still maintain AJAX is the way forward when it comes to web development, however, having just spent hours trying to debug issues that only affects IE when the same code works perfectly in Safari and Firefox, is extremely annoying. IE is very helpful and gives you this error message “Unknown run-time error”, which basically translates to “something went wrong, can’t tell you anything more than that though”.

Anyway, long story short, don’t try to have JavaScript write to an innerhtml element within <p> tags, I changed it to a <div> and everything worked. I really hope that IE 7 has better support or at least better debugging for AJAX.

Technorati Tags:

Off

Comments are closed.