« jQuery & Ext Partner to Deliver Integrated JavaScript & UI,Features | Main | YUI 2.2.0 Released, Time To Party »

jQuery and OpenAjax Compliance

More on jQuery, today John announced the compliance with OpenAjax initiative thanks to the jQuery OpenAjax plugin. By doing this, jQuery is becoming one of the first projects that has made its codebase compliant with the new standard. John summarized the the requirements for compliance as :

  • All libraries must register themselves (their name, version, and namespace) with the main OpenAjax library.
  • All libraries must register any global variables that they use (in the case of jQuery it's 'jQuery', and optionally '$' - it defaults to just including 'jQuery').
  • Any attempt to register "onload" or "onunload" handlers must go through the OpenAjax library. In the case of jQuery, if you do: $(window).load(function), and OpenAjax is included, jQuery will defer to OpenAjax's solution.
  • Libraries must not disrupt the ability of other libraries to traverse the HTML DOM document.

To use it, include after the official OpenAjax library, the jQuery library and the compliance plugin :

Bookmark this article at these sites
Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):