English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The event.result property contains the last value returned by the event handler specified by the event.
event.result
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 | description |
---|---|
event | theeventparameters come from the event binding feature |