jquery-smartwizard | The awesome jQuery step wizard plugin | Plugin library
kandi X-RAY | jquery-smartwizard Summary
kandi X-RAY | jquery-smartwizard Summary
The awesome jQuery step wizard plugin
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jquery-smartwizard
jquery-smartwizard Key Features
jquery-smartwizard Examples and Code Snippets
Community Discussions
Trending Discussions on jquery-smartwizard
QUESTION
I have a form with multiple Smart Wizards using incrementing UIDs for each. I want to restart the wizard to Step 1 when clicking the form Back or Reset buttons (external from the wizards). Step reset is only happening on the first instance of the Smart Wizard. I tried updating my JS to include all IDs which contain "smartwizard", but it is still only targeting the first one.
On the latest v5 multiple demo, the same / similar behavior can be viewed when advancing steps on both wizards and clicking cancel on the second one, triggering reset only on the first wizard.
Am I missing something with how and where the event handling is happening on the "reset" key in the Smart Wizard code (please see source links for reference)? I need guidance from this point, so any insight is appreciated...
jQuery / JS File
...ANSWER
Answered 2020-Jun-24 at 02:05Luckily, I found some inspiration for how to iterate through all of the Smart Wizards using .each() with an array of the IDs.
I still believe the code could be refactored for simplicity to encompass all IDs containing "smartwizard", but this solved my issue with both external buttons and I only need to maintain the array values in one place as more Smart Wizards are added to the page.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jquery-smartwizard
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page