SageFix. LetsFix!  
Current Location : Home > Web Development > JavaScript > Reset button submitting form instead of clearing boxes > Post Share/Save/Bookmark    

Main Menu
SageFix - Let's Fix

Board Categories
    Web Site Designing
- Graphics
    Web Development
- .NET
- Classic ASP
- JavaScript
- PHP
    WebSite Management
- Promotion Techniques
- Search Engine Optimization
    Databases
- MySQL

Tutorials

Database Connection Strings

  Contact Us


Reset button submitting form instead of clearing boxes      Jul 30, 2002, 04:00 990283
  
Thanks all, I had to leave this problem to the side for a while 'cos I had a bigger problem, still not solved!
I got it working with this:
Code:
<input type="image" src="weblogos/log_in.gif" name="submit" onClick="javascript:document.Login.submit()">	&nbsp&nbsp&nbsp&nbsp	<img src="weblogos/clear.gif" alt="" onclick="document.Login.reset();" />
It clears the form fine, and the other submit button still works fine!
Thanks for you help!

 









Subscribe to our mailing list
email


Current Location : Home > Web Development > JavaScript > Reset button submitting form instead of clearing boxes > Post Share/Save/Bookmark    

Development problem? SageFix is completely free -- paid for by advertisers and donations. Click here to Contact Us If you have any query. Enjoy!
Request processed in 0.00018 seconds Home - Contact Us - Terms Of Service - Privacy Policy - Copyrights - Top
Advertisements do not imply our endorsement of that product or service.
Current server time now is 06-Sep-2010 06:44:04
Copyright © 2009 Sagefix Inc. All rights reserved.
Powered By SageFix