Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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 having an uproarious good time at the Monastery: (6)
As of 2016-10-27 01:31 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (351 votes). Check out past polls.