Hi guys,
I have the following simple jquery code
[CODE]
$(‘#views-exposed-form-Filtering-page-1’).attr(‘action’, ‘#’).submit(
function(e){
alert(‘working’);
$.get(‘http://www.mysite/my_ajax.php’, function(xml){
alert(‘retrieved : ‘+xml);
});
e.preventDefault();
}
);
All I am doing is overriding the action attribute of a form and when the form is submitted, instead of the default action, I want to retrieve some XML results from my php script.
Strangely, this script does not work in FireFox – it only goes as far as the “alert(‘working’)”.
But, it works perfectly in IE which makes it to the second alert statement and displays the XML.
Can anyone help me out here, please ???