Javascript to hook a form's onsubmit method.
JavaScript PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
sample
README

README

Formhook is a simple library to hook an HTML form's onsubmit method with a custom callback that will be triggered prior to the actual onsubmit call.

See sample/hook.html for an example of how to use it.