Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Submit Button

by sutch (Curate)
on Mar 20, 2001 at 00:15 UTC ( [id://65528]=note: print w/replies, xml ) Need Help??


in reply to Submit Button

I believe that you are asking for the HTML to allow the use of an image instead of a button to submit a form. If so, use:

<input type="image" src="image.gif" alt="alt_text" name="submit_name" value="submit_value">

Replies are listed 'Best First'.
Re: Re: Submit Button
by chromatic (Archbishop) on Mar 20, 2001 at 00:16 UTC
    I believe you may have left out the src attribute:

    <input type="image" name="whatever" value="andever" src="button.jpg">

    ... but I've been wrong about what web browsers will accept in the face of overwhelming specifications before. :)

      Thanks chromatic. I had realized that I left out the src attribute just after I submitted that response, and then updated it immediately.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://65528]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-20 15:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found