Hi Klaus,

Sorry, but I'm just not following all of this.  I've added the action 
attribute back in - and altered the $.post statement to read 
$.post(this.getAttribute("action"), but I don't understand your 
advice on the "return false" with respect to the onsubmit function - 
I cannot identify the onsubmit function.  I have "return false" at 
the end of the $.fn.ajaxSubmit function - at least as I read it I have.

Bringing the "this.getAttribute("action")" and the "action=..." back 
into the code is resulting in what I assume in double submitting in 
both browsers now - FF, for example, is ending up at the ajax processing page

http://horticulture127.massey.ac.nz/degreeCdays3.asp

Sorry, but would you mind spelling this out a bit more clearly for 
this poor horticulturist!

Cheers,

Bruce

At 06:54 p.m. 10/08/2006, you wrote:


>Chris Double schrieb:
> >> In IE, when I do enter a value into the practice "tab" and submit,
> >> the page returns to the "Overview" tab with no result provided in the
> >> "Practice" tab.
> >
> > Try removing the 'action' attribute on the form element. Since you are
> > effectively doing an 'onsubmit' it's not needed. IIRC I had problems
> > with IE doing 'double submits' with an action set to '#' when also
> > having an onsubmit. So it may effectively be doing a normal form
> > submission on IE which results in posting to the same page.
> >
> > Chris.
>
>Add "return false;" at the end of your onsubmit function to avoid double
>submit.
>
>Valid HTML requires the action attribute. If you omit it, browsers
>submit the form to the page by default anyway (at least FF and IE).
>
>
>-- Klaus
>
>_______________________________________________
>jQuery mailing list
>[email protected]
>http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to