title: Ajax request works but I still get an error
body: <p>I worte the following functions for ajax calls...
  <a href="http://jsfiddle.net/2T5hg/13/" rel="nofollow">http://jsfiddle.net/2T5hg/13/</a>
  so that i can alert the reply from the requested page in the following form..</p>
  
  <pre><code> var req = new request(url)//request to url
       req.$sendPost('a=1')//post req ,data passed as a=1,
  req.$complete = function()
  {
    alert(this.$reply);
  }
  </code></pre>
  
  <p>Everything is working fine...But i am getting the following error on console
  Uncaught Error: INVALID_STATE_ERR: DOM Exception 11..</p>
  
  <p>Request is happening ...But why the error ?</p>