JQUERY - $.get(url,data,function(data),'html') not working on IE
<p>JQUERY 1.5</p>

<pre><code>function loadPostQry(str) { 
    $.get( 'fillpage.php','prodcode='+str, function(data) { 
        $('#s_content').html(data); 
    },
    "html" ); 
}

this piece of code is running on every browser but not on IE. I think there's something missing, the XHR or something else that has got to do with the engine.
</code></pre>

<p>//Dont get confused with this one, The above code is what I'm trying to get some answers...</p>

<p>JQUERY 1.4</p>

<pre><code>function getXMLHttpRequest() 
{
    if (window.XMLHttpRequest) {
        return new window.XMLHttpRequest;
    }
    else {
        try {
            return new ActiveXObject("MSXML2.XMLHTTP.3.0");
        }
        catch(ex) {
            return null;
        }
    }
}
</code></pre>

<p>I am trying to accomplished like the ver1.4 code...</p>

<p>Q: How would I write that piece of code to be compatible to ver1.5, everytime that code is called it will first check the engine. </p>

<p>This is an exerpt from JQUERY site...</p>

<blockquote>
  <p>--xhr--- Default: ActiveXObject when available (IE), the XMLHttpRequest
  otherwise Callback for creating the
  XMLHttpRequest object. Defaults to the
  ActiveXObject when available (IE), the
  XMLHttpRequest otherwise. Override to
  provide your own implementation for
  XMLHttpRequest or enhancements to the
  factory</p>
</blockquote>

<p>Need a work around.. Thanks...</p>
