User:Catrope/Wikimania/jQuery

About jQuery
jQuery is an open-source JavaScript library making dynamic web development easier. Documentation, examples and downloads can be found here.

Demonstrated in the talk
NOTE: All these examples assume that $ is the jQuery function. If it's not (on Wikipedia it's $j, for instance), use something like this: Of course you can also do something like, but that's not recommended for any other purpose that quick testing in the Firebug console.

POST requests
I used jQuery's AJAX capabilities to send POST requests to API modules that don't accept GET requests.

Namespace selector
This is a jQuery plugin that builds a with namespaces based on the result of an API siteinfo request. This plugin will probably also be used in the Usability Initiative's Babaco release.