开发者

jQuery jwizard plugin

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜