View Full Version : Reset button doesnt clears the form
mailtome
11-19-2004, 06:22 AM
Hi
I have a form of which some fields are filled by javascript on clicking a button.
This fileds are not cleared when the user presses the reset button.
Can someone explain.
jbbrwcky
11-19-2004, 08:52 AM
Could you post the code please?
The reset button should clear everything unless a value is implicitly set on the input field, ie:
<input type="input" id="someid" value="http://" />
Jbbrwcky
123456789
11-19-2004, 05:30 PM
Originally posted by mailtome
Hi
I have a form of which some fields are filled by javascript on clicking a button.
This fileds are not cleared when the user presses the reset button.
Can someone explain.
Maybe because the Reset button is outside of the form?
jbbrwcky
11-19-2004, 06:25 PM
Hehe yeah that'd definately do that too!
Jbbrwcky
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.