title: How to fix SECURITY_ERR: DOM Exception 18?
body: <p>I'm developing jQuery mobile application for iPad. </p>
  
  <ul>
  <li>jQuery version: jquery-1.6.4.js</li>
  <li>jQuery mobile version : jquery.mobile-1.0rc2.js</li>
  </ul>
  
  <p>I'm getting this error when I load in iPad.  </p>
  
  <blockquote>
    <p>SECURITY_ERR: DOM Exception 18: An attempt was made to break through
    the security policy of the user agent.</p>
  </blockquote>
  
  <pre><code>&lt;%   
      if (Request.UserAgent.Contains("iPad"))
      {
          Response.Redirect("LoginiPad.aspx");       
      }
      else
      {
          Response.Redirect("LoginSP.aspx");  
      } 
  %&gt;
  </code></pre>
  
  <p>Can any one tell me how to fix this?<br>
  thanks in advance. </p>