I\'ve got this problem where I need to show and hide divs when clicking on a table cell. However, I also want people to be able to select text and copy it within the cell wi
You could check if there is a selection made in the click event handler:
window.getSelection().toString();