How to get Value of select menu ?
How can I get the value of a select menu (form name = FrogStyling_1_Size_Add) ?
The select menu has the choice of a few sizes :
size 10 = € -1,00
size 15 = € = 4,00 <!--(rsDetail.Fields.Item("ProductPrice").Value) : initially selected-->
size 20 = € +2,00
size 25 = € +4,00
size 30 = € +6,00
size 35 = € +8,00
The standard price is shown. I want the price show to what the customer selected.
I had this to begin, but get this : error 'ASP 0102 : 80004005' :
<% If Request.Form(FrogStyling_1_Size_Add)=10 Then
Response.Write(FormatNumber(((rsDetail.Fields.Item("ProductPrice").Value)-1), 2, -2, -2, -2))
Else
Response.Write(FormatNumber(((rsDetail.Fields.Item("ProductPrice").Value)+5), 2, -2, -2, -2))
End If %>
My site is in ASP VBscript.