Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

digitalBush/jquery.caret

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Caret Plugin for jQuery

Overview

This is the caret positioning code that I created to use in my Masked Input plugin for jQuery. This plugin will let you manipulate or query the caret position of text inputs and textareas.

API

  • .caret() - gets the current caret position for the first element in the set of matched elements.
  • .caret(begin,end) - sets the caret position on the set of matched elements.
  • .caret(begin) - sets the caret position on the set of matched elements. This is the same same calling .caret with the same begin and end value.

About

jQuery Caret Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages