Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery UI API – .disableSelection()

jQuery UI API - .disableSelection()

Category

Methods | UI Core

Usage

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

Returns:jQuery

**Version added:** 1.6

**Version deprecated:** 1.9

.disableSelection()

This method accepts no arguments.

Disabling text selection is harmful and not recommended.