[thelist] Image Submit Button - Without JS ?

Michele Foster michele at wordpro.on.ca
Thu Mar 22 07:50:48 CST 2001


Hi Jon and Shoshannah,

This doesn't submit the form though.  I'd like it to call the form action
when clicked.

Any other ideas?

Thanks,

Michele

----- Original Message -----
From: "Jon Haworth" <JHaworth at witanjardine.co.uk>



> I imagine what you're after is something like:
>
> <input type="image" name="submit" src="/images/search.gif">
>

> -----Original Message-----
> From: Michele Foster [mailto:michele at wordpro.on.ca]

> This topic sort of came up the other day, but it isn't exactly the same
> question that I had.  I want to use a graphic as a "submit" button.
>
> Here's the code:
>
> <form method="post" name="orderform" action="customer.asp">
> yadda, yadda
> <a href="javascript:document.orderform.submit()">
> <img border="0" width="127" height="25" src="/continue.gif"
alt="Continue">
> </a>
>
> My concern is that if a user has Javascript turned off, I don't think this
> will work.






More information about the thelist mailing list