Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get value of an input by name

document.querySelector('input[name=hey]').value
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #input
ADD COMMENT
Topic
Name
1+5 =