.disableSelection()

jQuery

.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.