There is a CSS3 property for that.
#yourTable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
More Related Contents:
- .val() don't edit input
- How to have html popup appear over main html page?
- jQuery document.getElementById() issue
- Write tags in HTML and print
- Any Javascript GURU here to make this Script ? If Anchor is Changed Redirect the Page
- jquery get id of input selected text
- jQuery Data vs Attr?
- jQuery ID selector works only for the first element
- Get class list for element with jQuery
- How to disable HTML links
- Cross-browser multi-line text overflow with ellipsis appended within a fixed width and height
- How to do a Jquery Callback after form submit?
- Animate element to auto height with jQuery
- How to style “input file” with CSS3 / Javascript? [duplicate]
- Limit number of lines in textarea and Display line count using jQuery
- How to get nth-child selector to skip hidden divs [duplicate]
- How to auto-scroll to end of div when data is added? [duplicate]
- Property ‘submit’ of object # is not a function
- How to convert HTML to JSON using PHP?
- Value was evaluated just now with console.log on JavaScript object
- How to keep the menu state on page reload
- How to make supported on all browsers? Any alternatives?
- Javascript Code works in jsfiddle and but not in the Browser [closed]
- HTML5 responsive canvas: resizing the browser canvas draw disappear
- Get value of a custom attribute
- Download attribute not working in Firefox
- How to Bootstrap navbar static to fixed on scroll?
- How to highlight a part part of an Input text field in HTML using Javascript or JQuery
- Test if an element can contain text
- Geolocation closest location(lat, long) from my position