Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript set input value by class name

var els=document.getElementsByClassName("in1")[0];
els.value = "Test Content"
Source by tutorial.eyehunts.com #
 
PREVIOUS NEXT
Tagged: #javascript #set #input #class
ADD COMMENT
Topic
Name
6+2 =