jQuery-Wizard icon indicating copy to clipboard operation
jQuery-Wizard copied to clipboard

How to get current step?

Open mahony0 opened this issue 10 years ago • 1 comments

I'm not really good at JS. I want to check current step number. Tried this:

$("body").on('click', ".btn-next", function() {
    var activeTabNo = $("li.active").data("step");
    alert(activeTabNo);
});

but no luck.

mahony0 avatar Apr 16 '16 13:04 mahony0

Also a small demonstration for how to change the step programmatically will be very helpful

mahony0 avatar Apr 16 '16 15:04 mahony0