jquery
Ajax / Json
How-to simply update a piece of content on click with Jquery?
in your .module file
Firebug console error prevention
If you need to publish code that contains "console" calls (for instance console.log with firebug) and don't want javascript to be broken on browser that don't have console enabled, this function is useful:
Using once()
ensure ajax reload don't apply the behaviours for items already processed
Add a Jquery ui library
get the library names to use in /misc/ui folder
Jquery file structure declaration
Declare custom jquery code (attached to a theme or module) so that $ selector is available