jQuery event.result Property Last Updated : 11 Jul, 2025 Suggest changes Share Like Article Like Report The jQuery event.result is an inbuilt property which is used to find the last and previous value returned by an event handler started by the specified event. Syntax: event.result Parameter: It does not accept any parameter because it is a property not a function. Example 1: jQuery code to show the working of event.result property. HTML <!DOCTYPE html> <html> <head> <script src= "https://code.jquery.com/jquery-1.10.2.js"> </script> <style> div { width: 40%; height: 100px; margin: 10px; padding: 10px; display: block; border: 2px solid green; } </style> </head> <body> <div> <!-- click on this button --> <button>Click here for event result</button> <p></p> </div> <!-- jQuery code to show working of this property --> <script> $("button").click(function (event) { return "Geeks for Geeks !"; }); $("button").click(function (event) { $("p").html(event.result); }); </script> </body> </html> Output: Example 2: In this example, a pop-up will show last value returned by an event handler. HTML <!DOCTYPE html> <html> <head> <script src= "https://code.jquery.com/jquery-1.10.2.js"> </script> </head> <body> <center> <div> <!-- click on this button --> <button>Click here for event result</button> </div> <!-- jQuery code to show working of this property --> <script> $("button").click(function (event) { return "Geeks for Geeks !"; }); $("button").click(function (event) { alert(event.result); }); </script> </center> </body> </html> Output: K kundankumarjha Follow Article Tags : JQuery jQuery-Events jQuery-Propertie Explore jQuery Tutorial 8 min read Getting Started with jQuery 4 min read jQuery Introduction 7 min read jQuery Syntax 2 min read jQuery CDN 4 min read jQuery SelectorsJQuery Selectors 5 min read jQuery * Selector 1 min read jQuery #id Selector 1 min read jQuery .class Selector 1 min read jQuery EventsjQuery Events 4 min read jQuery bind() Method 2 min read jQuery blur() Method 1 min read jQuery change() Method 2 min read jQuery EffectsjQuery animate() Method 2 min read jQuery clearQueue() Method 2 min read jQuery delay() Method 2 min read jQuery HTML/CSSjQuery addClass() Method 2 min read jQuery after() Method 1 min read jQuery append() Method 2 min read jQuery TraversingjQuery | Traversing 4 min read jQuery add() method 1 min read jQuery addBack() Method 2 min read My Profile ${profileImgHtml} My Profile Edit Profile My Courses Join Community Transactions Logout Like