jquery.focus
v0.1.4
Published
jQuery plugin for focusing textarea, input and contenteditable
Downloads
118
Readme
jquery.focus 
This library is an extension for jQuery which allows focusing on editable elements either at the beginning or ending.
Features
- Textarea, input and contenteditable support.
- Put cursor at the ending using
focusEndmethod. - Put cursor at the beginning using
focusBeginmethod.
Dependencies
- jquery.js (>= 2.1.0)
Examples
$("textarea, input[type='text'], [contenteditable]").focusBegin();
$("textarea, input[type='text'], [contenteditable]").focusEnd();License
Copyright (c) 2012-2014 Mateus Maso. Released under an MIT license.
