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();
        }
);
</code>

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 ???
-- 
View this message in context: 
http://old.nabble.com/Firefox-%24.get-problems-tp28363433s27240p28363433.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.

Reply via email to