Passing variables from a drop down menu to response.encodeUrl
Sanz Joanne
Greenhorn
Joined: Feb 24, 2003
Posts: 8
posted
0
Can anybody please help me.... I'm trying to pass a variable from a drop down menu to response.encodeURL I tried using: <%= response.encodeUrl("Merchandise.jsp?Clothing_id="+Clothing_id+"&Clothing_Type="+Clothing_Type+"&SelecltSize="+SelectSize+"&Clothing_Colour="+Clothing_Colour+"&Clothing_Price="+Clothing_Price+" ")%> Select Size being the variable in the drop down menu. The thing is it keeps passing a null value. Thanks a mill in advance Sanz
rudolf hitler
Ranch Hand
Joined: Feb 07, 2003
Posts: 34
posted
0
hi, why dont u place the form in a html page and use javascript to pass the url to ur destination page.In javascript u can use the escape(variable) function to encode url which automatically gets decoded at ur destination.
Asher Tarnopolski
Ranch Hand
Joined: Jul 28, 2001
Posts: 260
posted
0
post your code. -- rudolf-if you think your nick is funny-you are wrong. so better change it.
Asher Tarnopolski
SCJP,SCWCD
Geeta Ramasami
Ranch Hand
Joined: Mar 05, 2003
Posts: 72
posted
0
Hi, How r u retrieving ur value of selectSize form ur drop down menu? Cheers Geeta