W3cubDocs

/jQuery UI

.disableSelection()

.disableSelection()Returns: jQuery

Description: Disable selection of text content within the set of matched elements.

  • version added: 1.6, deprecated: 1.9.disableSelection()

    • This method does not accept any arguments.

Disabling text selection is bad. Don't use this.

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jqueryui.com/disableSelection