result

UK[rɪˈzʌlt] US[rɪˈzʌlt]

n. Result; (especially football match) victory; [physical] score; successful achievement Things

vi. Happen, produce; come down to, lead to; consequence, end; caused by...[produce]

jquery result attribute syntax

Function:The result attribute contains the last value returned by the event handler triggered by the specified event, unless this value is undefined.

Syntax: event.resul

Parameters:

##Parameters Descriptionevent Required. Specifies the event from which the last value returned comes. The event parameter comes from the event binding function.​

jquery result attribute example

<html>
<head>
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $("button").click(function(e) {
    return ("最后一次点击的鼠标位置是: X" +e.pageX + ", Y" + e.pageY);
  });
  $("button").click(function(e) {
    $("p").html(e.result);
  });  
});
</script>
</head>
<body>
<p>这是一个段落。</p>
<button>请点击这里</button>
</body>
</html>
Run instance »

Click the "Run instance" button to view the online instance