title: Asp razor get text from div
body: <p>I want to get the text from a html div id="mydiv" into an asp razor variable myrazorvariable. How can I do it? Thanks in advance :D</p>
  
  <pre><code>&lt;div id="mydiv"&gt;
  Some text to get inside razor variable
  &lt;/div&gt;
  
  @myrazorvariable = html("mydiv")
  </code></pre>
  
  <p>I want this...</p>
  
  <pre><code>@myrazorvariable = "Some text to get inside razor variable"
  </code></pre>