I'm trying to use jQuery to fire an event on scroll on a particular class of elements, like so:
$('body').on('scroll', '.overflow', function() { do stuff; });
However, do stuff never happens. I've done a little experimentation, and it looks as though the scroll event can't be delegated using .on. (see http://jsbin.com/aJeDiru/2 for a test case).
Is there a way that I can get it to delegate? Or is there a Very Good Reason™ why it should never be set up to delegate in this fashion?