开发者

jQuery jwizard plugin

开发者 https://www.devze.com 2023-03-08 19:44 出处:网络
looks like nextStep() method inside jquery.jwizard.js is being called when the user cl开发者_运维百科icks on next button. Is it possible to call that method explicitly and pass some options so that I

looks like nextStep() method inside jquery.jwizard.js is being called when the user cl开发者_运维百科icks on next button. Is it possible to call that method explicitly and pass some options so that I won't see cancel button in next screen? how can I?

plz check the working example at: http://dominicbarnes.us/jWizard/demo/menu.html


Based on the examples, I'd say you can programatically jump to the next step like this:

$w = $("#jWizard");
$w.jWizard("nextStep");

In order to hide the cancel button you can set the corresponding option:

$("#jWizard").jWizard({
    buttons: {
        cancelHide: true
    }
});
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号