Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged html5



« Prev 1 Next »
obviously one can access HTML5's data attribute super easy in jQuery
0 744 posted 11 years ago by iroybot
This code snippet fetches the very latest minified version of jQuery from Google's CDN. If this is not available, we revert to a locally stored version (current version at time of publish was 1.7.1 - update this to suit going forward).
1 841 posted 12 years ago by Huskie
jQuery for inputy attribute "placeholder".
1 572 posted 12 years ago by mihael
//######################################################################### // // *taken from http://www.catswhocode.com/blog/mastering-html5-prefetching // //#########################################################################
0 830 posted 12 years ago by rydaly
Couple of ways to check if HTML5 form elements exist and use a fallback if they don't.
0 696 posted 12 years ago by vagrantradio
this shows you how to use localStorage to have a page remember content that has been edited with the html5 attribute, contenteditble
0 616 posted 13 years ago by adriamooney
Just a quick script to enable default text within a form element to be cleared or restored upon focus/blur of a particular element. Should give you roughly the same functionality as the new HTML5 webforms "placeholder" attribute.
0 567 posted 13 years ago by scheurbert
« Prev 1 Next »