VinceG / twitter-bootstrap-wizard

This twitter bootstrap plugin builds a wizard out of a formatter tabbable structure. It allows to build a wizard functionality using buttons to go through the different wizard steps and using events allows to hook into each step individually.
MIT License
1.39k stars 676 forks source link

Programmaticaly go to a specific step? #45

Closed ccorrin closed 11 years ago

ccorrin commented 11 years ago

I'm having trouble getting the wizard to go to a step on the wizard programmatically, how can I set a specific step index in javascript?

$('#tab3').trigger('click'); doesnt seem to work. Sorry if this is not the right place for questions, I wasn't able to find anything online. Any help would be greatly appreciated.

VinceG commented 11 years ago

@ccorrin

Please see the readme file, it states right there on how to do it:

//calling a method $('#rootwizard').bootstrapWizard('show',3);