/ Published in: jQuery
![](/img/icon_sav.png?v3)
obviously one can access HTML5's data attribute super easy in jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<span data-sku="SKU123456">My Product</span> $("span").data("sku");
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)