Is there a way to get the textarea name when a user selects text inside that textarea?

is that possible, and possible for IE and Mozilla?