title: get html DIV content from asp.net c# codebehind event
body: <p>I want to get HTML DIV content via asp.net C# code behind event.</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Report.aspx.cs" Inherits="WebApplication1.Report.Report" %&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
  &lt;title&gt;&lt;/title&gt; 
  &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"&gt;
  &lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  
      $(document).ready(function () {
  
          $('#_Hidden_CrystalReportContent').hide();
          $('#_Hidden_CrystalReportContent').html("&lt;b&gt;I want to get Current value. 1&lt;sup&gt;st&lt;/sup&gt;&lt;/b&gt;");
  
      });        
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form id="form1" runat="server"&gt;
  &lt;div id="_Hidden_CrystalReportContent"&gt;I want to get Current value.&lt;/div&gt;    
  &lt;asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" /&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>My code behind file as below.</p>
  
  <pre><code>public partial class Report : System.Web.UI.Page
  {
  protected void Page_Load(object sender, EventArgs e)
  {}
  
  protected void Button1_Click(object sender, EventArgs e)
  {
      string s = Request["_Hidden_CrystalReportContent"].ToString();
  }
  }
  </code></pre>
  
  <p>But I still cannot get div content value.<br>
  Please let me get your suggestion.</p>