Is there such an event captured by jQuery that I can use to detect the deselection of text after the text has been deselected? So far I've been using a way in which I capture the click on the document's BODY, but the click(or mouseup) get the selection of text before the text is cleared (by clicking somewhere else in the document, once).
Also, is there an event that fires after the user selected some text in the page? The method above works successfully because, apparently, the click event on the body is fired after the text has been selected. But I would like a cleaner way.
Note: this operation is done on a DIV, not on an an INPUT or TEXTAREA element.