I'm having trouble with events in a MooTools Form.Request():
new Form.Request(e.getParent('form'), $('update'), {
resetForm: false,
onRequest: function () {
loading(e)
},
onSuccess: function () {
toggle(e)
}
}).send();
The onSuccess event triggers happy, but the onRequest event does nothing. Am I overlooking something?
The name of the event is
sendnotrequest. So you are looking foronSend:.Have a closer look at the documentation: