Jquery 隐藏消息或淡出警报消息

Jquery 隐藏消息或淡出警报消息,jquery,smart-wizard,Jquery,Smart Wizard,我想在移动到下一步时隐藏警报消息 我正在使用jquery智能向导选项卡导航。请检查示例代码 if(step == 1){ if(validateStep1() == false ){ isStepValid = false; $('#wizard').smartWizard('showMessage','Please correct the errors in application form and click n

我想在移动到下一步时隐藏警报消息

我正在使用jquery智能向导选项卡导航。请检查示例代码

if(step == 1){
            if(validateStep1() == false ){
              isStepValid = false; 
             $('#wizard').smartWizard('showMessage','Please correct the errors in application form and click next.');

              $('#wizard').smartWizard('setError',{stepnum:step,iserror:true});         
            }else{
              $('#wizard').smartWizard('setError',{stepnum:step,iserror:false});
            }
          }
提前谢谢。

只要打电话:

msgBox = $('.msgBox');
msgBox.hide();

使用内置方法:

if (stepnumber == 1) {
    $(function() { 
            $("#wizard").smartWizard("hideMessage");
            $("#wizard").smartWizard("fixHeight"); 
        });
}

如果你的情况。。。我只能看到其他部分,请将此部分编辑为您上面的问题。。这样人们才能更好地帮助你