Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to check a radio button with ASP

Status
Not open for further replies.

willz99ta

IS-IT--Management
Sep 15, 2004
132
US
Let me start by saying thanks for your help,

I am trying to select a radio button if strTN="1" using ASP. Is there any way to do this?.

Thanks again,
Will
 
Note: I am trying to use a variable retrieved from a database via ASP to set which radio button has been checked

 
<input type='radio' name='TN' value='1' <% if strTN = "1" then Response.Write("Checked") %> >

is what I used. Thanks anyway

Will
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top