9. Using the jQuery Widgets

This is a fun chapter. jQuery comes with a number of widgets, and we’ll take a look them at here.

A widget is a control (controls are the text boxes, list boxes, buttons, and so on in a Web page) that augments what’s available in standard HTML.

For example, one popular widget is the accordion, which lets you squeeze a lot of text into a small amount of space by displaying bars that, when clicked, open to more text.

Here are the jQuery widgets:

• Accordion

• Datepicker

• Dialog

• Progressbar

• Slider

• Tabs

About Working with Widgets

To put the widgets to work, we’re going to have to include more prewritten JavaScript and stylesheets than we have before. In particular, we’ll often need to include the CSS User Interface ...

Get jQuery: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.