简体   繁体   English

多步下一步按钮不起作用

[英]Multi-Step Next button not working

I have to first click on the naviagtion bar before clicking on the Next button for it to work. 我必须先单击导航栏,然后再单击“下一步”按钮才能起作用。 After the page has loaded, if I click on the next button it won't work. 页面加载后,如果我单击下一个按钮,它将不起作用。 But for the steps which follow, the buttons work perfectly. 但是对于接下来的步骤,按钮可以正常工作。

As you init your wizard on mousedown.wizard.data-api you will, obviously, need to click on the menu to active the buttons. 显然,当您在mousedown.wizard.data-api上启动向导时,您将需要单击菜单以激活按钮。

But if you init the wizard on the load event 但是如果您在加载事件上启动向导

b(function () {

    var d = b(".wizard");

    if (!d.data("wizard")) {
        d.wizard(d.data());
    }

}); 

the buttons will work. 按钮将起作用。

Working example 工作实例

Hope it may helps you 希望对您有帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM