Javascript: onScroll event (using Prototype) doesn't work on IE?

Posted by Chetane on Stack Overflow See other posts from Stack Overflow or by Chetane
Published on 2009-07-07T05:26:18Z Indexed on 2010/03/30 19:23 UTC
Read the original article Hit count: 392

Filed under:
|

I am trying to trigger the onScroll event this way using prototype:

Event.observe(document, 'scroll', function(){
	alert('boo');
});

It works perfectly on firefox, but nothing happens on IE. Does anyone know why? and if there is another way to do so?

Thanks

© Stack Overflow or respective owner

Related posts about prototype

Related posts about JavaScript