title: Get HTML inner HTML in C# when element not runat="server"
body: <p>I have an HTML span that contains a number.</p>
  
  <p>The span has its value set by some JavaScript, so is not <code>runat="server"</code></p>
  
  <p>I now need to get the value contained in this span, and store it in a C# string.</p>
  
  <p>This is proving more difficult than expected.</p>
  
  <p>I am able to get an alert box that displays this value by doing the following:</p>
  
  <pre><code>ClientScript.RegisterStartupScript(GetType(), "IR", "setTimeout(function(){alert(document.getElementById(\"LoanInterestRate\").innerHTML);}, 3000)", true);
  </code></pre>
  
  <p>But I cannot see how to return this value to the C# code.</p>
  
  <p>I know this is because <code>ClientScript.RegisterStartupScript</code> returns a void, but is there a way of setting the return value for this?</p>
  
  <p>Or is there another way of getting an HTML element.</p>
  
  <p>I know I can use a hidden server side div, but this does not really suit my purposes.</p>
  
  <p>I need a way to obtain the value of the HTML span using C#.</p>
  
  <p>Any ideas, I have been trying for a while and not got anywhere,  and I think this is is a useful thing to do.</p>