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
}
});
精彩评论