I have the following code in my file for loading a div with HTML from an AJAX call:
$('#searchButton').click( function() { $('#inquiry').load('/search.php?pid=' + $('#searchValue').val()); });
This works fine in Firefox and Google Chrome, but whenever I do a search in IE, I get redirected back to index.php. I grabbed the URL from Firebug and pasted it into IE, and the redirect does not happen, I just get the output that needs to be returned.
I also tried changing it to a $ .get () request and a full $ .ajax () request, but still the same redirect.
source share