。。
当然
事件函数已经完全返回到IE。event也会被撤消。http://lostinet.d2g.com/temp/public/delegate/
:
setTimeout(Delegate(alert).PreInvoke(event.x),100)
当然
事件函数已经完全返回到IE。event也会被撤消。http://lostinet.d2g.com/temp/public/delegate/
:
setTimeout(Delegate(alert).PreInvoke(event.x),100)
var eventX
function window.onload(){
eventX=event.x
setTimeout("alert(eventX)",100)
}</script>
可以通过引用的方法来传递。
setTimeout('go()',100)
}function go(){
aa()
}function aa(){
alert(event.x)
}
</script>