Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Submit Button

by sutch (Curate)
on Mar 20, 2001 at 00:15 UTC ( #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">

Comment on Re: Submit Button
Download Code
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?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2014-10-23 12:47 GMT
Find Nodes?
    Voting Booth?

    For retirement, I am banking on:

    Results (125 votes), past polls