Is AJAX Cross-Browser?

Share this article

There is a fascinating debate going on at Dojo developer Alex Russell’s blog. Sparked over the release of ajaxWrite, an in-browser Microsoft Word look-alike, the debate calls into question just what AJAX means (if anything) for cross-browser compatibility.

Rather than using cross-browser DHTML like Writely, ajaxWrite uses Extensible User Interface Language (XUL), which means it will only work on Mozilla browsers like Firefox. Alex Russell believes that advertising such an application using the AJAX name is both misleading and harmful.

On the one hand, AJAX stands for Asynchronous JavaScript And XML. If this is taken as a complete definition of the technology, then AJAX makes no mandate as to the technology used to present an interface to the user. Though typically written using DHTML (aka DOM Scripting), user interfaces written in Mozilla’s XUL would be perfectly allowable. It is already common and accepted practice to do away with the “X” in AJAX by using lighter data transfer formats like JSON (AJAJ?).

On the other hand, the biggest benefit of most AJAX applications over alternatives like ActiveX, Flash and Java Applets is that it will work across browsers regardless of available plug-ins or proprietary technologies. To corrupt this implied benefit of AJAX by using the name to promote a product that uses browser-specific user interface technology, argues Alex Russell, is an “abomination” of “shameless marketing”.

Meanwhile, ajaxWrite developer Michael Robertson has declared that “ajaxWrite is just the beginning” — his company has pledged to launch a new application every Wednesday, reachable via It would be reasonable to expect these will all feature XUL interfaces, and names beginning with “ajax”.

Kevin YankKevin Yank
View Author

Kevin Yank is an accomplished web developer, speaker, trainer and author of Build Your Own Database Driven Website Using PHP & MySQL and Co-Author of Simply JavaScript and Everything You Know About CSS is Wrong! Kevin loves to share his wealth of knowledge and it didn't stop at books, he's also the course instructor to 3 online courses in web development. Currently Kevin is the Director of Front End Engineering at Culture Amp.

Share this article
Read Next
Get the freshest news and resources for developers, designers and digital creators in your inbox each week
Loading form