Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get element property javascript

//For <button name="myname"></button>

button.getAttribute("name");
 
PREVIOUS NEXT
Tagged: #element #property #javascript
ADD COMMENT
Topic
Name
6+2 =