Chapter 9. Extending widgets with the widget factory

This chapter covers

  • Building on top of the jQuery UI widgets
  • Using and creating extension points
  • Extending datepicker

We’ve spent the greater part of this book looking at myriad things you can do with the jQuery UI widgets. But although the jQuery UI widgets handle the most common development use cases, real-life applications often have specific—often crazy—requirements. To give a few concrete examples: the jQuery UI team has had feature requests asking for accordions that store their open panel in a cookie, draggables that have a Cancel button, and autocompletes within autocompletes. (I’m not sure what those last two even mean, but someone asked for them.)

Widgets can’t solve every ...

Get jQuery UI in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.