|
 |
asp_web_howto thread: javascript problem,
Message #1 by "taherm@f... on Wed, 25 Jul 2001 12:11:21
|
|
how to wite a javascript so that it can get the value of the selected item
from the list menu(drop down) and then pass it to an asp variable.
here is my code
<% if (UCCart1.GetColumnValue("color",UCCart1__i))="" then %>
<select name="select">
<option>Plz Select</option>
<%
While (NOT Recordset4.EOF)
if recordset4.fields.item("Key") = pid then
%>
<% %>
<option value="<%=(Recordset4.Fields.Item
("Color").Value)%>" ><%=(Recordset4.Fields.Item("Color").Value)%></option>
<% end if
Recordset4.MoveNext()
Wend
If (Recordset4.CursorType > 0) Then
Recordset4.MoveFirst
Else
Recordset4.Requery
End If
%>
</select>
<% end if %>
now after the user has made a color selection in the drop down menu
then that value should be passed to
(UCCart1.GetColumnValue("color",UCCart1__i)).
plz help me. how can i do this
Thanks for your help
|
|
 |