Skip to Menu

What is jQuery?

jQuery is a library (written by John Resig) for making it easier for working with web pages using JavaScript. It has numerous features, including iterating through elements, adding/removing events, applying visual effects and AJAX/AHAH. Lightweight, yet powerful with a fairly active mailing list. Technorati (blog search) is one web site that uses it.

It is also fairly easy to create plugins, and here are a few I have done:

Plugins/Snippets

  • Checkbox manipulation - working with checkboxes
  • fix Q tags - wrap q tags with proper quotes in Internet Explorer
  • focus fields - add an outline and background to text inputs when they are given focus
  • jQIR - replace text with images
  • newsticker - a news ticker for sequentially showing each item in a list
  • numeric - allow only numbers to be typed into a text box
  • preload images - preload any images that you may use in the future (e.g. for image rollovers)
  • reverse - reverse the order of elements after selecting with jQuery (does not reverse the order on the page, just the order internally for manipulating them)
  • Select box manipulation - add/remove options in select boxes as well as sort them
  • tooltip demo - a basic demonstration on how to do a tooltip with jQuery (this is the same one as that used on the jQuery API page)
  • time picker - display a list of times when you click on an input

There is an extensive list of plugins available on the jQuery site.

Text Clips for Programmers's Notepad 2 (PN2)

jQuery Text Clips are available for PN2. There is also a generator available for creating the text clips file yourself. For more information about PN2 and other text clips, go to Text Clips