title: How to assign value for javascript variable from MVC asp.net controller
body: <p>Again stupid question 
  struggling to assign a value for a javascript variable from controller ?</p>
  
  <p>what is the proper way to assign value to a variable 
  below line of code is failing .. Please advice</p>
  
  <pre><code>  var tenmp= '&lt;%= Model.Temp%&gt;';
  </code></pre>