Going to a custom step with jQuery-steps

前端 未结 15 1202
粉色の甜心
粉色の甜心 2020-12-28 16:46

I am using a jQuery-steps on my app to for a wizard-like situation. I am having trouble finding out how to change to a custom step though. Any help with this one?

         


        
15条回答
  •  难免孤独
    2020-12-28 17:16

    I did something like below to get it worked:

    stepsWizard = $("#wizard").steps({
        headerTag: "h2",
        bodyTag: "section"
    });
    
    var indx = 3;
    for (i = 0; i <= indx; i++) {
     stepsWizard.steps("next");
    }
    

提交回复
热议问题