Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

getting form values in javascript

//HTML
<input type="text" name="name" id="uniqueID" value="value" />
  
//JS
var nameValue = document.getElementById("uniqueID").value;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #form #values #javascript
ADD COMMENT
Topic
Name
5+2 =