mstratman / jQuery-Smart-Wizard

flexible jQuery plug-in that gives wizard like interface
http://mstratman.github.com/jQuery-Smart-Wizard/
303 stars 164 forks source link

how to use disable step , please provide me with example thank you #59

Closed ahmadGamal closed 10 years ago

ahmadGamal commented 10 years ago

how to use disable step , please provide me with example thank you

mstratman commented 10 years ago

$('#wiz').smartWizard('disableStep', 2); // disable step 2

ahmadGamal commented 10 years ago

i want to disable a specific step when load page , i don't went it to totally appear ?

mstratman commented 10 years ago

Disable or remove? If disable, use the code above.

If you don't want the step to exist at all, use jquery (independent of this plugin) to remove the step's container from your DOM before doing the initial smartWizard() call

ahmadGamal commented 10 years ago

i try to hide step using display: none; but it still exist, i don't want to remove it cuz i may show it using an event , is there any way to hide step and show it ?

jomasha commented 3 years ago

yes add class d-none for bootstrap v4