jQuery UI API - .disableSelection()

Category

Methods | UI Core

Usage

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

Returns: jQuery

Added in version: 1.6

Deprecated in version: 1.9

.disableSelection()

This method does not accept any arguments.

Disabling text selection is harmful and not recommended.

AI is thinking...

jQuery UI API – .position()

jQuery UI API – .enableSelection()