http://qs321.pair.com?node_id=65528


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.