jQuery - how to pass $(this) as an object?
- by regan
Hello!
I'm trying to pass an object into a function but think there's a problem with $(this) not actually being valid at the point of passing it in.
$('textarea#quote').live('bind',function(){
}).limit('10',$(this).parents('form').children().find('span#qc') );
The second parameter can be either a string or an object like $('span#qc'), but I…