w2ui
Home
Get started
Demos
Docs
Blog
Support
Layout
Grid
Toolbar
Sidebar
Tabs
Form
Popup
Utilities
ver 1.3
ver 1.4
ver 1.5
ver 2.0
Utilities
Overview
Properties
Methods
Other
Events
Plugins
w2utils.getCursorPosition
Returns cursor position in an input or contentEditable element.
w2utils.getCursorPosition(input)
input
input
, DOM Input element
Returns position of the cursor in an input element.
var pos = w2utils.getCursorPosition(input); console.log(pos);
User Comments
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus