i wrote this code:
--------------------------------------------------------
function HidePreloader($idPreloader){
      $($idPreloader).hide();
   }
$("#formPassword").ajaxForm({
         target:'#container',
         clearForm:true,
         success: HidePreloader("#bluePreloader")
   });
----------------------------------------------------------
when it came to success event, the preloader image still there. did i
write it wrong ? it worked fine if the function has no passing argumen
like this:
-----------------------------------------------------------
function HidePreloaderBlue(){
      $("#blue").hide();
   }
$("#formPassword").ajaxForm({
         target:'#container',
         clearForm:true,
         success: HidePreloaderBlue()
   });
-----------------------------------------------------------

Reply via email to