advanced code snippet search
iroybot on 08/09/12
js jquery html5
2 people have marked this snippet as a favorite
obviously one can access HTML5's data attribute super easy in jQuery
<span data-sku="SKU123456">My Product</span> $("span").data("sku");
Report this snippet
You need to login to post a comment.