Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: Image-type buttons generate submit - July 29, 1998 at 13:43:55

You are here: irt.org | BBS | Re: Image-type buttons generate submit [This BBS is closed]

Posted by Martin Webb on July 29, 1998 at 13:43:55:

In Reply to: Image-type buttons generate submit posted by Florus vd Rhee on July 29, 1998 at 10:01:04:

: Is there a way to have image-type buttons?

: Like this:

: <INPUT NAME=name TYPE="image" OnClick="DoSomething" SRC="image.pic">

: This doesn't execute the onclick procedure, but submits the form instead!
: Is there a way around this?
: And why is an image-type button lik a submit button?

Try:

<A HREF="javascript:function_name ()"><IMG SRC="image.pic"></A>
Follow-ups:

You are here: irt.org | BBS | Re: Image-type buttons generate submit [This BBS is closed]

©2018 Martin Webb