aliasneo86 Posted November 3, 2008 Share Posted November 3, 2008 I made a reset button by java script <input type="image" src="clearall.jpg" onclick="clearForm(this.form);"> this is the only JS coding in the page. this does reset the form yet this also submits the form can any one help me with this ??? Thank you, Link to comment https://forums.phpfreaks.com/topic/131231-solved-help-with-custom-reset-button/ Share on other sites More sharing options...
F1Fan Posted November 3, 2008 Share Posted November 3, 2008 Change it to this: <image src="clearall.jpg" onclick="clearForm(this.form);"> Link to comment https://forums.phpfreaks.com/topic/131231-solved-help-with-custom-reset-button/#findComment-681320 Share on other sites More sharing options...
aliasneo86 Posted November 4, 2008 Author Share Posted November 4, 2008 Thanks alot for the reply Link to comment https://forums.phpfreaks.com/topic/131231-solved-help-with-custom-reset-button/#findComment-681854 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.