Javascript/JQuery event arguments. I don't understand what this 'e' argument is or does -
jquery:
this.savebutton.click(function (e) { scope.saveform(); });
this simple line of jquery binds .click() event savebutton object , calls saveform function when event fired.
when event called, 'e'? don't think ever used.
the e
can used obtain specific information click (left, right or center; coordinates clicked; dom object clicked on), specific code sample doesn't use it.
see http://api.jquery.com/category/events/event-object/ details what's available.
Comments
Post a Comment