Thanks Mike, this did the job - and perhaps slowly I'm starting to 
understand this.

I appreciate also the general "tidy up" of the other sections of the 
code - I didn't know, for example, that this structure - 
$("#indicate, #enquiryinfo").hide(); - was possible.

Cheers,

Bruce

At 11:35 p.m. 8/09/2006, you wrote:
>Bruce,
>Give this a shot:
>
>$.fn.ajaxSubmit3 = function() {
>     this.submit(function(){
>         $("div#indicate").show();
>         $("div#updateinfo").fadeOut();
>         var params = $("#processupdate").formdata();
>         $.post(this.getAttribute("action"), params, function(text){
>             $("#indicate, #enquiryinfo").hide();
>             $("#updateinfo").html(text).fadeIn("slow");
> 
>$('div#updateinfo').highlightFade({color:'yellow',speed:1000,iterator:'linear'})
>         });
>         return false;
>     });
>}
>
>_______________________________________________
>jQuery mailing list
>[email protected]
>http://jquery.com/discuss/


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

Reply via email to