Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get custom attribute

document.getElementById("divId").getAttribute("attributeId");
 
PREVIOUS NEXT
Tagged: #js #custom #attribute
ADD COMMENT
Topic
Name
4+3 =