Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

FormReset Button Image

Posted on 1998-11-06
8
Medium Priority
?
281 Views
Last Modified: 2012-05-04
Is there a way to change the default grey button image generated out of FormReset to clear form fields and put my own reset image with that functionality?
0
Comment
Question by:rajmohans
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 2

Accepted Solution

by:
Grdv earned 300 total points
ID: 1839415
if the name of the form is FormReset use this:

<a href="javascript:FormReset.reset();"><img src="yourimage.gif" border=0></a>

//Grdv
0
 
LVL 4

Expert Comment

by:martinag
ID: 1839416
It should be document.FormReset.reset()

Martin
0
 
LVL 2

Expert Comment

by:Grdv
ID: 1839417
that's very true martin, thanks for pointing that out...
//Grdv
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:rajmohans
ID: 1839418
I've named the form as Form_Login in the attributes of FormOpen
and generating
<A HREF="Javascript:Document.Form_Login.reset();"><IMG SRC="/v2.0-img/SSB/SSB_reset.gif" border="0"></A>

Still it's giving error as

Document.Form_Login has no properties.

Can you explain, please.
0
 
LVL 4

Expert Comment

by:martinag
ID: 1839419
Cases are important in most languages (the intellectual ones). There is a hige difference between these lines (since one won't work...):
Document.Form_Login // won't work
document.Form_Login // will work

Martin
0
 

Author Comment

by:rajmohans
ID: 1839420
I've named the form as Form_Login in the attributes of FormOpen
and generating
<A HREF="Javascript:Document.Form_Login.reset();"><IMG SRC="/v2.0-img/SSB/SSB_reset.gif" border="0"></A>

Still it's giving error as

Document.Form_Login has no properties.

Can you explain, please.
0
 

Author Comment

by:rajmohans
ID: 1839421
Thanks a lot Martin and Grdv! Great.
0
 

Author Comment

by:rajmohans
ID: 1839422
Thanks a lot Martin and Grdv! Great.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

647 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question