Thanks for this.

I couldn't see how to gain "control" of the AJAX output of this code for cosmetic purposes (e.g. fading/highlighting) purposes, so I decided that as the initial problem apparently was in the serialisation part of the original code, that I'd use the .serialize function of your code.

However, I cannot get the function to fire now.  I get passed straight to the server file.  I'm sure I'm binding the form (id=processupdate) to the function properly - in the function that precedes this step, I am including $("#processupdate").ajaxSubmit3();


$.fn.ajaxSubmit3 = function(e) {this.submit(function(){$.param( $("form").formdata()); $("div#indicate").show(); $("div#updateinfo").fadeOut; $.post(this.getAttribute("action"), params, function(text){
        $("div#indicate").hide();
        $("div#enquiryinfo").hide();
        $("div#updateinfo").html(text).fadeIn("slow");
        $('div#updateinfo').highlightFade({color:'yellow',speed:1000,iterator:'linear'})
        $("#processupdate").ajaxSubmit3();
        }); return false; });}

What am I doing wrong now?

Cheers,

Bruce

  At 01:09 p.m. 8/09/2006, you wrote:
>  Is there an error in the above code?  If not, where else should I look for
> a solution.  I am using jquery rev 249.

Look here:  http://jquery.com/dev/svn/plugins/form/form.js

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

Reply via email to