Q:

How to Set What $(this) Refers To?

jQuery noob here.
I have a jQuery handler that makes use of $(this). Is there a way for me to call this handler from another handler and specify what element $(this) refers to?

A:

Yes, you could do that using .apply or .call javascript functions.
Like:
handlerName.apply(newScope, [param1, param2]);

or
handlerName.call(newScope, param1, param2);

where newScope is what this will refer to in that handlerName

