Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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">

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?

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 drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2020-07-14 21:49 GMT
Find Nodes?
    Voting Booth?

    No recent polls found