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

go to next or prev step on click inside content #85

Closed seyyed-sina closed 8 years ago

seyyed-sina commented 8 years ago

hi, tanx for your smart wizard :+1: I have a problem that I didn't find any function for it. I have specific element (eg: links, buttons,...) inside content (I mean div.content). I want when user click on them, he could go to next or prev step. how can I solve it?! tanx

mstratman commented 8 years ago

You can manually call methods as described in the "Public methods:" section of the readme here: https://github.com/mstratman/jQuery-Smart-Wizard

e.g. $('#wizard').smartWizard('goForward'); or goBackward, or goToStep

seyyed-sina commented 8 years ago

ok, but how can I set it to click function!? for example when the '.btn' clicked, it go forward... how can I do that?

seyyed-sina commented 8 years ago

I got it ;) tanq