Now that there is an animate-like effect applied to multiple selectors
$('.foo,.bar').animate({width: '250'}, 'slow',function(){ console.log($(this)); });
Console log is returned twice for .foo
and .bar
So how can I create other events based on this .foo
.
Something like this $(this)+'.foo'
< this is not true
I need to do other events based on (this) .foo
location
source share