how to create reset and cancel buttons with my own image
As I couldn't get the html:submit tag to display my own image, I'm using the image tag: html:image src=../../images/save.gif/ to do a submit. However, I don't see how to display my own image on a canel or reset button. Is it possible to set the image tag to cancel/ reset or to set the cancel/ reset tags to display my own image? cheers, Rachel ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **
how to create reset and cancel buttons with my own image
As I couldn't get the html:submit tag to display my own image, I'm using the image tag: html:image src=../../images/save.gif/ to do a submit. However, I don't see how to display my own image on a canel or reset button. Is it possible to set the image tag to cancel/ reset or to set the cancel/ reset tags to display my own image? cheers, Rachel ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **
RE: how to create reset and cancel buttons with my own image
From HTML Spec, an image button acts just like a Submit button. So in order to implement your reset and cancel button by using your own image, you have to use Client side JavaScript. Just like the following code: html body form method=post action=http://www.yahoo.com input type=text value=original value input type=image src=reset.gif onclick=javascript:reset();return false; input type=image src=cancel.gif onclick=javascript:history.go(-1);return false; input type=image src=submit.gif /form /body /html Hope it will be helpful! Xin -Original Message- From: Rachel Warburton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 5:51 AM To: '[EMAIL PROTECTED]' Subject: how to create reset and cancel buttons with my own image As I couldn't get the html:submit tag to display my own image, I'm using the image tag: html:image src=../../images/save.gif/ to do a submit. However, I don't see how to display my own image on a canel or reset button. Is it possible to set the image tag to cancel/ reset or to set the cancel/ reset tags to display my own image? cheers, Rachel ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **