CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
how do you use an image as a submit button?

 



kind1
Deleted

Mar 30, 2000, 9:54 PM

Post #1 of 2 (672 views)
how do you use an image as a submit button? Can't Post

I need to be able to submit hidden content to a cgi script when a user clicks an an image. Is there a way to use an image exactly as you would use a submit button?

Thanks


Rivotti
User

Mar 31, 2000, 12:39 AM

Post #2 of 2 (672 views)
Re: how do you use an image as a submit button? [In reply to] Can't Post

Yes, you can. Just change the submit line to :
<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>

<input type="image" name="submit" src="image.gif" border="0"></pre><HR></BLOCKQUOTE>

You just need to change the "image.gif" to the name of the imagem you want. I use boreder="0" to wipe out the link border ( that nasty blue thing ).

For more info about forms check Forms Quick Reference in WDVL

Rivotti

[This message has been edited by Rivotti (edited 03-31-2000).]

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives