Example

Show the returned result of the last click event:

$("button").click(function(e) {
  $("p").html(e.result);
});

Try it yourself »

Definition and Usage

The result property contains the last value returned by an event handler function that was triggered by the specified event.

Syntax

event.result

Parameter Description
event Required. Specifies the event to get the last returned value from. The event parameter comes from the event binding function