Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Drop Down Menu...


Message #1 by "Matthew George" <matt@t...> on Thu, 8 Aug 2002 17:52:46 -0400
Matthew,

On page 2, you could use something like the following:

<select name="test">
<option value="SELECT TYPE" <% if rec1("Type").value = "SELECT TYPE" then
response.write("selected") %>>SELECT TYPE</option>
<option value="OCCUPATIONAL" <% if rec1("Type").value = "OCCUPATIONAL" then
response.write("selected") %>>OCCUPATIONAL</option>
<option value="OPERATIONAL" <% if rec1("Type").value = "OPERATIONAL" then
response.write("selected") %>>OPERATIONAL</option>
</select>

--jb

-----Original Message-----
From: Matthew George [mailto:matt@t...]
Sent: Thursday, August 08, 2002 5:53 PM
To: javascript
Subject: [javascript] Drop Down Menu...


hey guys, hoping you could help me out w/ something....I have two asp pages
that use javascript drop down menus.  Basically, the first page will insert
the value from the drop down menu into a table in the database.

...

  Return to Index