title: document.readyState not working in Firefox and Chrome
body: <p>In my application, I am calling a method for every <strong>1000ms</strong> to check the document <code>readyState</code>. Following is the code which I am using:</p>
  <pre><code>var success=setInterval(&quot;&quot;CheckState()&quot;&quot;,1000);
  
  function CheckState(){
  
  if($get('businessDownl').document.readyState==&quot;interactive&quot; || 
        $get('businessDownl').document.readyState==&quot;complete&quot;){
             alert(&quot;Great&quot;);
             clearInterval(success);
    } 
  }
  </code></pre>
  <p>This code works fine in IE browser, but fails in Firefox and Chrome browsers. I tried using
  <code>$get('businessDownl').readyState</code> also, it is printing as undefined. Can anybody tell me how to use the <code>readyState</code> for Firefox and Chrome in the above scenario?</p>