Home >> Tutorials >> Advanced javascript tutorials
Form validation | Set field value |
Checkbox example | Radio box example |
Move slected values from one list box to another |
Setting a text field value using javascript Some times you need to get or set values of form fields.The script that sets the value of form field. <INPUT TYPE="button" VALUE="Set Value" onClick="this.form.feedback.value= 'This is an example for Setting field value using a button';"> Complete javascript Source Code: <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> Top |
Page contents: itechies.net – Learn how to set a field value in a form using javascript |