# event.result

## event.result ( ) Returns: Object version added: 1.3

Description: The last value returned by an event handler that was triggered by this event, unless the value was undefined.

This property can be useful for getting previous return values of custom events.

## Examples:

#### Example: Display previous handler's return value

    <!doctype html>
    <html lang="en">
    <head>
      <meta charset="utf-8">
      <title>css demo</title>

      <script src="//code.jquery.com/jquery-1.10.2.js"></script>
    </head>
    <body>

    <button>display event.result</button>
    <p></p>

    <script>

    $( "button" ).click(function( event ) {
      return "hey";
    });
    $( "button" ).click(function( event ) {
      $( "p" ).html( event.result );
    });

    </script>

    </body>
    </html>

#### Demo: