When focusing,we can do something like:
$('#target').focus(function(){$(this)..});
Because "this" is just the one that's focused($(this) == $('#target')
).
But can't do the same for "blur",because $(this) != $('#target')
.
How to do it the right way?
NOTE: in my application,I can't assign an id to the target,and '#target' here is just for illustration.