Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript update attribute

var element = document.getElementById("elemId");
element.setAttribute("attributeName", "value");
 
PREVIOUS NEXT
Tagged: #javascript #update #attribute
ADD COMMENT
Topic
Name
5+7 =