How would I find if a textbox (or textarea) currently is in focus? I don\'t care to know which one it is, I just need to know if one is in focus (has the cursor in it). How
$('#yourTextAreaID:focus');
would not work. :) But
$('#yourTextAreaID').focus(function(){ // do something });
would excecute the //do something code when the element receives focus.
//do something