<p>I have the following code in my file to load a div with HTML from an AJAX call:</p>

<pre><code>$('#searchButton').click( function() {
    $('#inquiry').load('/search.php?pid=' + $('#searchValue').val());
});
</code></pre>

<p>This works fine in Firefox and Google Chrome, but whenever I do the search in IE I get redirected back to index.php. I grabbed the URL from Firebug and pasted that into IE and no redirection happens, I just get the output that should be returned.</p>

<p>I also tried changing it to a $.get() request and a full $.ajax() request but still the same redirection.</p>

IE Handles default events differently (also beware of hitting enter in a text field).  IE is causing some default event handler to fire.  If searchButton is a  link with HREF of "" it will reload the current page.  You can try to set the href to  "javascript:void(0)"  or do something like:
```
```
$('#searchButton').click( function(e) {
    $('#inquiry').load('/search.php?pid=' + $('#searchValue').val());
    e.preventDefault();
});
```
```