Currently, I have put this in the body tag to disable text selections:
body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
However, my input and textarea boxes are now unselectable. How can I only make these input elements selectable and the rest unselectable?
inputandtextareaelements: jsfiddle.net/Smy26