I've got a new problem with the Stepper. I use it to complete a multi-step purchasing process. The problem is that I'm using an ajax to update the content of step 2.
Let me explain:
Step 1 allows the user to choose between two choices and this choice impact the content of step 2. When he clicks on one of the two choices, an ajax query is made to load the content (and only the content) of step 2 and the button to go to step 3 has a different data-feedback depending on the choice. The problem is that the feedback doesn't work when I click on the next button, it's as if it was not taken into account. I used the updateStepper() function but it doesn't change anything, the updateStepper() function should also update the feedback events data-feedback="" to take into account new events added via a change in the DOM.
But maybe i'm doing a wrong thing and there's another way to make a dynamic data-feedback event work ?
Hello, everyone,
I've got a new problem with the Stepper. I use it to complete a multi-step purchasing process. The problem is that I'm using an ajax to update the content of step 2.
Let me explain: Step 1 allows the user to choose between two choices and this choice impact the content of step 2. When he clicks on one of the two choices, an ajax query is made to load the content (and only the content) of step 2 and the button to go to step 3 has a different data-feedback depending on the choice. The problem is that the feedback doesn't work when I click on the next button, it's as if it was not taken into account. I used the updateStepper() function but it doesn't change anything, the updateStepper() function should also update the feedback events data-feedback="" to take into account new events added via a change in the DOM.
But maybe i'm doing a wrong thing and there's another way to make a dynamic data-feedback event work ?
Thanks for the support.