IE8, CF8 Ajax and jQuery
May 23, 2008
I noticed a post on Dale Fraser's blog about IE8 breaking the DHTML/AJAX built-in features of Coldfusion 8. I decided a while back to stick with doing AJAX calls and DHTML using jQuery instead of using the new tags in CF8 - and I'm glad I did as my code still works in IE8.
The jQuery library really is an impressive bit of work as is actively supported and developed. I was never a fan of the javascript code that CF generates, although that is a personal thing as a visitor to a site isn't really going to care as long as it works!
I also like the way that jQuery makes it quite easy to write accessible sites that use javascript to enhance rather than rely on javascript. I don't feel like I have that level of control with the CF generated code.
Oh, and Raymond Camden is using jQuery on ColdFusionBloggers.org which is a pretty good endorsement!
- Posted in:
- jQuery
- ColdFusion
3 comments
Leave a comment
If you found this post useful, interesting or just plain wrong, let me know - I like feedback :)

I'm curious because I'm at a frustration point right now with some of the new CF ajax implementation.
Do you use the cfajaxproxy code because I find that to be extremely useful.
Comment by Michael Brennan-White – May 23, 2008
Comment by Gary F – May 24, 2008
I don't use the cfajaxproxy tag as I find it just as easy with jQuery. As I always use jQuery, then I don't want to have to use two different javascript frameworks on my sites (I think the cfajaxproxy tag uses the Yahoo YUI library). I also like to have all my javascript in external files or at the bottom of the HTML page. I've blogged about calling cfcs using jQuery and EXT2 if you're interested.
@Gary,
I totally agree with you about benefiting from using the latest version of the various javascript frameworks out there. As you say, why wait for CF9!
Comment by John Whish – May 27, 2008