jQuery API | 返回首页目录 | jQuery API 中英文对照版 |
mousemove(fn) |
mousemove(fn)
在每一个匹配元素的mousemove事件中绑定一个处理函数。 返回值:jQuery 参数:
示例: $("p").mousemove( function() { alert("Hello"); } ); HTML 代码: <p>Hello</p> 结果: <p onmousemove="alert('Hello');">Hello</p> Bind a function to the mousemove event of each matched element. Return value: jQuery
Example: $("p").mousemove( function() { alert("Hello"); } ); Before: <p>Hello</p>Result: <p onmousemove="alert('Hello');">Hello</p>
|