我想知道原型(prototype)中是否有与 jquery mousemove 函数等效的函数。
最佳答案
我认为这会让你到达你想要的地方:
Event.observe(document, 'mousemove', callBackFunction);
callbackFunction = function(event)
{
//do something
}
关于jquery - 原型(prototype) .Mousemove 等效项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3451075/