Search

2/20/2008

John Resig - Most Bizarre IE Quirk

John Resig - Most Bizarre IE Quirk


setInterval(function(){
alert("hello!");
}, -1);

What happened is positively bizarre: The callback function will be executed every time the user left clicks the mouse, anywhere in the document.

沒有留言: