Show more than 10,000 characters in a JavaScript Alert
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5927647/javascript-object-max-size-limit-at-10000-chars">javascript object max size limit at 10000 chars</a>  </p>
</blockquote>



<p>I want to check whether html source contains a specified string, but I'm only getting 10,000 characters (in alert box) </p>

<pre><code>var str=document.documentElement.innerHTML;
if(str.indexOf("abcxyz") !== -1)
{
  alert("Alert!!");
}
</code></pre>

<p>How can I fix that?</p>
