DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+2 =
Submit