Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript edit form value

<input type="text" id="example">
<input type="submit" value="Submit" onclick="document.getElementById('example').setAttribute('value','My default value')">
 
PREVIOUS NEXT
Tagged: #javascript #edit #form
ADD COMMENT
Topic
Name
4+7 =