JSFiddle - React, Tailwind, and code Playground
by sureshbm13
HTML
<div class="example" data-you="Hello Example">Example</div>
JavaScript
$(".example").data("clicked", "yes");
alert($(".example").data("clicked"));
by sureshbm13
<div class="example" data-you="Hello Example">Example</div>
$(".example").data("clicked", "yes");
alert($(".example").data("clicked"));