Appendix F. Polyfilling HTML5 with jQuery UI

In chapter 3 we discussed a number of new HTML5 elements and compared them to jQuery UI widgets. In summary, we concluded that the major advantages of the HTML5 controls are

  • Ease of use.
  • Dependency-free.
  • The browser controls how data is inputted. (For instance, you get optimized mobile keyboards.)

The main detriments are

  • You have little control over the display.
  • They handle only trivial use cases.
  • Only some browsers support the controls.

In chapter 3 we also had a brief discussion of which control you should use. To start, if you have a nontrivial usage scenario, you have no choice but to use JavaScript-based widgets like those of jQuery UI. If you want to build a calendar where the user ...

Get jQuery UI in Action 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.