All Projects → mathiasbynens → jquery-noselect

mathiasbynens / jquery-noselect

Licence: other
A jQuery plugin which disables text selection on any element. Useful for UI elements; evil for pretty much everything else.

Programming Languages

javascript
184084 projects - #8 most used programming language

noSelect jQuery Plugin

This plugin disables text selection for any element you specify. This can be useful when dealing with UI elements sometimes.

As featured in Uniform — Sexy forms with jQuery.

Demo & Examples

http://mathiasbynens.be/demo/noselect

Example Usage

$('p.with-click-handler').noSelect();

Notes

Please do not use this plugin to disable text selection on entire documents. That’s just annoying.

Mathias

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].