refresh
refresh

Reputation: 1329

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.

Upvotes: 1

Views: 214

Answers (1)

DFayet
DFayet

Reputation: 881

As you init your wizard on mousedown.wizard.data-api you will, obviously, need to click on the menu to active the buttons.

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

Upvotes: 1

Related Questions