jQuery Plugin: HTML5 Inline Data
HTML5 Data Attributes are sexy. What’s sexier is an easy way to work with these data attributes using jQuery. Sure, you could do something like: jQuery(‘#pancakes’).attr(‘data-type’); But who wants to type the “data-” prefix over and over again? So, here’s a quick little plugin I whipped up. It’s probably terrible when it comes to jQuery [...]