Answers for "<option data-id="1" value="test"></option> javascript get data-id value"

0

jquery get data-id

const dataId = $('#elementId').attr("data-id");
Posted by: Guest on August-13-2020
0

data id

<li data-id="1234" data-email="[email protected]" data-age="21">Calvin</li>
Posted by: Guest on December-21-2020

Code answers related to "<option data-id="1" value="test"></option> javascript get data-id value"

Code answers related to "Javascript"

Browse Popular Code Answers by Language