[jQuery] scroll method problem
hello, there is a question about scroll method that following below:
$("p").scroll( function() { alert("Hello"); } );
Hello
<p onscroll="alert('hello')">Hello
but it's not really work when i write code like this:
$("body").scroll( function() { alert("Hello"); } );
do you know why?
--
yorsal
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/