/ Published in: jQuery
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");