mardi 27 janvier 2015

How can I call a custom JavaScript function after a form has validated?



I have a form for submitting events to our calendar. What I want is to call a function once the form has validated. Something like this:



  1. User edits item

  2. User clicks save button

  3. Form validates successfully

  4. Form is saved

  5. Custom JavaScript function called

  6. User is redirected like normal


Is this possible with JavaScript?








0 commentaires:

Enregistrer un commentaire