doesn't work in all browsers, you will have to use :
<a href="two.html"><img src="mygif.gif" border="0" name="submittBttn"></a>
At 00:42 02/09/01 -0700, you wrote:
>Hello Hugh,
>
>Why not use the image type...
>
><INPUT TYPE="image" SRC="/grfx/mysubmitbtn.gif" NAME="mySubmitBtn"
>VALUE="Some Text Value" onClick="'javascript:return this.form.submit();'">
>
>John
>
>
> > Subject: Re: Submit Buttons with Images
> > From: "Hugh McLaughlin" <hugh@k...>
> > Date: Sat, 1 Sep 2001 12:54:49
> > X-Message-Number: 1
> >
> > > have you used the name attribute, so that you can specify
> > which form
> > element
> > > to retrieve it from ?
> > >
> > > <form ...>
> > >
> > > <input name='b1' type='submit' value='click here'>
> > > </form>
> > >
> > > then if you do a request("b1") in ASP that should giove you
> > your value.
> > >
> > > if you change the value of the submit button, then the text
> > that appears
> > on
> > > the button will change,
> > > i would try putting the value in a different hidden text field
> > >
> > > <form ...>
> > >
> > > <input type='hidden' value='value_in_here' name='idvalue'>
> > > <input type='submit' value='click here'>
> > > </form>
> > >
> > > --Keith
> > >
> > > ----- Original Message -----
> > > From: "Hugh McLaughlin" <hugh@k...>
> > > To: "HTML Code Clinic" <html_code_clinic@p...>
> > > Sent: Friday, August 31, 2001 12:07 AM
> > > Subject: [html_code_clinic] Submit Buttons with Images
> > >
> > >
> > > > Hello,
> > > >
> > > > I am trying to use a submit button with an image, but
> > also give the
> > submit
> > > > button a value in order to pass it to the next page. I
> > cannot seem to
> > get
> > > > this to work. Can this be done and can someone show me
> > an example?
> > > > Thanks in advance.
> > > >
> > >
> > I have tired assigning a value but that doesn't seem to work.
> > I guess I
> > will need to simply use a hidden variable.