How to leverage jQuery to write future-proof HTML5 markup 3.42 http://spkr8.com/t/2969

Description:

In this talk the audience will learn how to use jQuery, in conjunction with feature detection, in order to use the new semantic elements provided by HTML5 (i.e., <header>, <footer>, <nav>), as well as emulate the new input types (i.e., type=date, type=range) and input attributes (i.e., autofocus, list, pattern), in a cross-browser, future-proof fashion. In order to do this, we'll walk through the creation of a few example plugins:

$.fn.autofocus $.fn.placeholder $.fn.datalist $.fn.pattern

However, the primary focus will not be the specific mechanics of these example plugins--but rather how to use jQuery as a stopgap solution while browser vendors work on implementing native support for these new features.

In addition to spending time on building our own plugins, this talk will discuss how to leverage jQuery UI widgets as a means of using the new input types with minimal effort.

Alas, using HTML5 today is not all ponies and unicorns—there are certain risks. As such, this talk will conclude by discussing the gotchas of using these new elements and features in today’s most popular browsers with partial or no HTML5 support (what’s up, Internet Explorer), including Ajax, CSS (for screen and print media), and interacting with the DOM via jQuery.

Comments on this Talk

034 psdpainter, 26 Apr 02:04 AM

Mike didn't cover the example plugins...big bummer.

Have an account? Sign in or register.

Leave a Comment

13 Ratings: 3.42

Delivery: 3.52

Content: 3.32

Last Five Ratings