Click to See Complete Forum and Search --> : Pass javascript parameter in asp


zw1971
11-04-2003, 01:06 AM
<a href="buy.asp?sid=document.form1.textfield<%=RS("ProdID")%>.value"><img srcbuy.gif" width="25" height="15" border="0"></a></div>
</td>

for the above code, suppose I have a textfield called textfield<%=RS("ProdID")%>. how can i pass the value in that text field through the url in asp?

It seems the above code doesn't work

Thanks

slyfox
11-18-2003, 08:02 AM
sorry, but that code will never work!

Don't think there is any answer for that one.. if there is let me know... I will find it quite interesting:D