Thanks Mike.  I'll mess around with it.  Whats strange is that this
has been working in my code.  I havent changed the version of jquery
or anything weird.

On May 24, 3:10 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> You're hiding the busy div before it's been added to the DOM.  Try
> changing that code around a little:
>
> $('<div id="busy"><br /><img src="/images/loaders/
> miniloader.gif" />Requesting content...</div>')
>        .ajaxStart(function() {$(this).show();})
>        .ajaxStop(function() {$(this).hide();})
>        .appendTo('#loader')
>        .hide();
>
>
>
>
>
>
> > Hi all
>
> > using Ajax form.  Which works great, but Ive noticed lately when my
> > page loads now the loader image displays event though Im hiding the
> > div on load.  Any ideas why this would be happening?
>
> > $(document).ready(function() {
>
> >      $("busy").hide();
>
> >      $('<div id="busy"><br /><img src="/images/loaders/
> > miniloader.gif" />Requesting content...</div>')
> >         .ajaxStart(function() {$(this).show();})
> >         .ajaxStop(function() {$(this).hide();})
> >         .appendTo('#loader');
>
> >     $('#billpay').ajaxForm({
> >         // account rec
> >         target: '#paymentpost',
> >         success: function() {
> >             $('#paymentpost').fadeIn('slow');
> >         }
> >     });
> > });- Hide quoted text -
>
> - Show quoted text -

Reply via email to