title: loader in ajax form jquery
body: <p>I am new in jQuery ajax. I have created a ajax form in magento. and it works fine. But now i want to add the loader image in that. My code for the form is written</p>
  
  <pre><code>jQuery(function () {
    var checkurl = URL + "customer/account/signupformpopup/";
    jQuery('#alogin').click(function () {
  
      jQuery('.cc-register-form').hide(600);
      jQuery('.cc-signup-form').show("slow");
      jQuery.ajax({
        url: checkurl,
        success: function (data) {
          var $signupForm = jQuery('&lt;div class="cc-signup-form"&gt;'+data+'&lt;/div&gt;');
          if (jQuery('#tinybox-wrap').children().hasClass('cc-signup-form')) {
            return false;
          }
          else {
            jQuery('#tinybox-wrap').append($signupForm);
          }
        }
      })
  
    });
  });
  </code></pre>