result
English [r??z?lt]
n. ??(?? ?? ??) ??; ??? ????? ???
vi. [????]? ?? ??, ??
jquery ?? ?? ???
Role: result ???? ? ?? ???? ?? ?? ??? ???? ?? ???? ??? ???? ??? ??? ?? ?????.
??: ??event.resul
????:
Parameters | Description |
event | ?????. ??? ??? ?? ?? ????? ???? ?????. ??? ????? ??? ??? ???? ?????.? |
jquery ?? ?? ?
<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 ("最后一次點(diǎn)擊的鼠標(biāo)位置是: X" +e.pageX + ", Y" + e.pageY); }); $("button").click(function(e) { $("p").html(e.result); }); }); </script> </head> <body> <p>這是一個(gè)段落。</p> <button>請(qǐng)點(diǎn)擊這里</button> </body> </html>
??? ????? ??? "???? ??" ??? ?????