submitEvents - Javascript form submission handler


/ Published in: JavaScript
Save to your folder(s)

Requires Mootools 1.2
http://mootools.net/download

Based on the mootools javascript framework a re-usable class for easily implementing an array of on submit events.

* Confirmation - Provides an Ok, Cancel input box before proceeding further
* Submit Button - Disable and change the text on a submit button
* Information Div - Display a div that lets the user know something is happening
* Undo - Undo the changes (re-enable a previously disabled submit button, change the information div) that have been carried out by the class
* AJAX - Submit the form using AJAX instead of the ‘old fashioned’ way

This work is released under the creative commons share alike license.

Requires Mootools 1.2
http://mootools.net/download

URL: http://www.dom111.co.uk/blog/coding/submitevents-javascript-form-submission-handler/20

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.