[Javascript] HELP: USING AN IMAGE FOR THE SUBMIT BUTTON ON A .JS FORM
Christophe Lancian
clancian at capgemini.fr
Fri Mar 30 01:25:16 CST 2001
Hi Steven,
I think you should try something like this :
<a href="JavaScript:PickURL()">
<img name="Button_Action" src="images/searchbutton.gif">
</a>
Regards,
======================================
Christophe Lancian - CAP GEMINI
Service Line Accelerated Delivery Services
clancian at capgemini.fr
======================================
----- Original Message -----
From: "Steven Pesant" <spesant at direct.ca>
To: <javascript at LaTech.edu>
Sent: vendredi 30 mars 2001 07:56
Subject: [Javascript] HELP: USING AN IMAGE FOR THE SUBMIT BUTTON ON A .JS FORM
> Hi there,
>
> Hopefully someone out here can provide a little assistance. I've built a
> <FORM> that makes use of Javascript. Rather than just using a default
> SUBMIT button, I need to make use of an IMAGE for the submit button.
>
> When I use a default SUBMIT button everything works perfectly, but as soon
> as I change to an IMAGE for the SUBMIT button, the coordinates of where the
> user clicks on the image are added to the URL and it fails.
>
> My submit code looks like:
>
> <input type="image" onClick="PickURL()" src="images/searchbutton.gif">
>
>
> Any pointers would be greatly appreciated. Thanks.
>
>
>
> -= Cheers =-
> Steve
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list