Ok noted one mistake on my part this should be
  $("#busy").hide();

But even with that it doesnt work.  This is in both IE7 and FF2.
Stumped. It
use to work.

On May 24, 2:31 pm, JimD <> wrote:
> 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