jQuery Steps - reset wizard without page reload

前端 未结 5 2147
攒了一身酷
攒了一身酷 2021-02-15 12:05

I am using jQuery steps ( https://github.com/rstaib/jquery-steps/wiki ) in order to create step by step form to users to fill out. It works great, however I need to be able to r

5条回答
  •  隐瞒了意图╮
    2021-02-15 13:06

    You can use jQuery Form Plugin , Resetting or clearing your form is then very Easy

    $('#myFormId').resetForm();
    

    Or

    $('#myFormId').clearForm();
    

    Or only Special Fields

    $('#myFormId .specialFields').clearFields();
    

提交回复
热议问题