Javascript event on save for custom field I have implemented a custom field type.

Is there any way to register a javascript event handler that is called before my custom field is saved?
Attach a submit event to the #entry-form element:

$('#entry-form').submit(function(e) {
    // code run on submit here
});