Going to a custom step with jQuery-steps

前端 未结 15 1150
粉色の甜心
粉色の甜心 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 16:53

    I found a simple way to do this. you can use the jquery function

    $("#wizard-t-2").get(0).click();
    

    assuming you know what step you want to go to. this example would bring you to the third step of the wizard. use chromes editor to figure out what the exact id is of the step you want to go to.

提交回复
热议问题