Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to take value of input using getelementsbyname in javascript

var username = document.getElementsByName("username")[0].value;
 
PREVIOUS NEXT
Tagged: #input #getelementsbyname #javascript
ADD COMMENT
Topic
Name
3+9 =