Going to a custom step with jQuery-steps

前端 未结 15 1064
粉色の甜心
粉色の甜心 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:09

    Basing on @AbdulJamal answer, I've implemented it for any step:

    $(function () {
        var stepsWizard = $("#wizard").steps({
            ...
        });
    
        // step variable handles current step (from 0)
        for(var i=0; i

    Note that step variable must be defined and equal or greater than 0.

提交回复
热议问题