|
|
|
|
|
| | |
|
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Retaining Checkbox Selection |
From: |
Harlan |
Date: |
2/8/1999 9:01:43 AM |
IP: |
206.222.20.2 |
I usually do this with session variables
then you can do something like this.
Sub createOption(strValue)
session("option") would be set in the page
after a user clicks on a submit button.
If session("option") = strValue then
response.write "<option value=" & strValue & " selected>" & strValue
Else
response.write "<option value=" & strValue & ">" & strValue
End If
End Sub
Then you can create your option box like this
<form name="whatever" method="whateverMethod">
<select name="whatever">
<%call createOption("Option1")%>
<%call createOption("Option2")%>
</select>
That help? |
Previous Message
Follow Up - Re: Retaining Checkbox Selection - Casen 2/8/1999 10:28:05 AM
|
|
|
|
|
|
|
|
|
|
|
|