In my ASP code, I would like to get the AC # variable to receive and effect the value received through JavaScript:
& lt; Script type = "text / javascript" src = "http://www.ratebeer.com/javascript/sc.asp?b=53" & gt; & Lt; / Script & gt;
The value in the script "53" can be changed by the user in an ASP form which I have already created so that we can get the scores of the desired product dynamically.
Can you please tell me how can I provide user typed values on scripts and affect the returned value in AC # variable?
Many thanks in advance
> The solution to display the returned value:
& lt; Script type = "text / javascript" style = "color: yellow! Important" src = "http://www.ratebeer.com/ Javascript / sc.asp? B = & lt;% #: item. Writeback number% Gt; "& gt; & Lt; / Script & gt;
You can do the following thing in the ASP.NET webform
& lt; Script type = "text / javascript" src = "http://www.ratebeer.com/javascript/sc.asp?b=<%Recipes.x (" 53 ");% & gt;" & gt; & Lt; / Script & gt;
Comments
Post a Comment