0.1.4 • Published 8 years ago

jquery.focus v0.1.4

Weekly downloads
152
License
-
Repository
github
Last release
8 years ago

jquery.focus Build Status

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 focusEnd method.
  • Put cursor at the beginning using focusBegin method.

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.

0.1.4

8 years ago

0.1.3

9 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago