title: Affect javascript value to c# variable
body: <p>In my ASP code (Webforms) I would like to retrieve and affect to a c# variable a value obtained through javascript:</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://www.ratebeer.com/javascript/sc.asp?b=53"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>The value "53" in the script can be changed by the user in an ASP form that I've already created so that we can dynamically obtain the score of the desired product.</p>
  
  <p>Can you please tell me how I can provide the value typed by the user to the script and affect the returned value to a c# variable?</p>
  
  <p>Many thanks in advance</p>
  
  <p>Solution to display the returned value:</p>
  
  <pre><code>&lt;script type="text/javascript" style="color: yellow !important" src="http://www.ratebeer.com/javascript/sc.asp?b=&lt;%#: Item.RateBeerNumber  %&gt;"&gt;&lt;/script&gt;
  </code></pre>