I have ajax code that submits the form. But I want to ask the user to confirm (using vex) before submitting the form. It appears that the vex dialog submits a form, which triggers my code again. The user gets the confirm dialog twice. Is there an example I can follow?
My page has many forms, generated in a loop.
I have ajax code that submits the form. But I want to ask the user to confirm (using vex) before submitting the form. It appears that the vex dialog submits a form, which triggers my code again. The user gets the confirm dialog twice. Is there an example I can follow?