Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Submit Buttons with Images


Message #1 by "Hugh McLaughlin" <hugh@k...> on Fri, 31 Aug 2001 00:07:19
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.
>


  Return to Index