HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 25th, 2000, 07:45 PM
RedEyes RedEyes is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 13 RedEyes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I've got a button image that I want to use to reset a form rather than use the default reset button (ugly!!). Anyone know how to do this?

Thanks.

Reply With Quote
  #2  
Old August 8th, 2000, 10:06 AM
Toby Toby is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Sweden
Posts: 32 Toby User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
I've never tried this myself but try with...

<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
<input type="reset" name="reset" src="image.jpg">
[/code]

Take a look at the URL below for options... http://www.htmlhelp.com/reference/h...orms/input.html

Toby

[This message has been edited by Toby (edited August 08, 2000).]

Reply With Quote
  #3  
Old August 25th, 2000, 10:13 AM
pieux pieux is offline
Seņor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 10
Why not just an image that reloads the page? That's the simplest solution. Otherwise, you would need an image with an HREF that calls a JavaScript function that sets all your form fields to "".

Reply With Quote
  #4  
Old October 25th, 2000, 05:51 AM
mikev mikev is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 1 mikev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Use javascript or load the page again...

a href="javascript:document.forms[0].reset()"


Michiel Verkoijen
Interaction Designer www.websilon.nl

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Form reset buttom


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT