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.setCursorPosition
Sets cursor position in an input or contentEditable element.
w2utils.setCursorPosition(input, pos)
input
input
, DOM Input element
pos
number
, Position of the cursor
Sets position of the cursor in an input element.
w2utils.setCursorPosition(input, 5);
User Comments
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus