title: Validation dangerous : get value of a text area
body: <pre><code>&lt;%@ Page Language="C#" 
    ValidateRequest="false" 
    MasterPageFile="~/PersonPage/ConfigPersonalPage.master" 
    AutoEventWireup="true"
    CodeFile="ConfighPropertise.aspx.cs" 
    Inherits="PersonPage_ConfighPropertise" %&gt;
  
  &lt;textarea style="width:850px;height:500px" 
     id="txtEnterProject"  
     name="txtEnterProject"&gt;&lt;/textarea&gt;&lt;br /&gt;
  
     var a= $("#txtEnterProject").val()
  </code></pre>
  
  <p>if a=='a' there is no error</p>
  
  <p>but </p>
  
  <p>if a=<code>&lt;p&gt;a&lt;/p&gt;</code> then the error is:</p>
  
  <pre><code>`error:HttpRquestValidationException:A potentially dangerous...  `
  </code></pre>
  
  <p>asp.net '3.5'</p>