English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

jQuery event.result Property

jQuery Events

The event.result property contains the last value returned by the event handler specified by the event.

Syntax:

event.result

Example

Display the return value of the previous handler:

$("button").click(function(){
  return "Hello, World!";
});
$("button").click(function(event){
  $("p").text(event.result);
});
test and see‹/›

parameter value

parameterdescription
eventtheeventparameters come from the event binding feature

jQuery Events