I don't know if there are any jQuery experts here, but I thought I'd try as I've had some really great help so far from you experts :-)
I'm using the jQuery form plugin from http://www.malsup.com/jquery/form/
. I need to query a remote page (<a href="remote_page.html"rel
>) as the form is created entirely dynamically (server side) and can change substantially according to the link clicked.
The code below works perfectly for IE6, but when I try the same thing in Firefox (v2) it *always* submits normally, going to the target page rather than load the message into the facebox. The form also works
fine in Firefox when not within the facebox.
I've tried everything I can think of to disable the submit, but nothing seems to work. I'd appreciate some help because I'm tearing my hair out with it (and I've not got a lot left!). The form is a bog standard POST, but I've tried GET as well. And even using the URL option in the forms plugin, as well as ajaxSubmit. Nothing I do seems to work. :-(
Hope someone can help!
//This is where I try to disable the submit button (unsuccessfully!)
target: '#facebox #myformsubmitted',
//This displays the success message.