vegUI.org home of the javascript based window manager and AJAX framework

VegUISiteKit: Form Tools

The VSK Form Tools library contains function to retrieve data from and manipulate form elements. It allows, for example, to retrieve the caret's (text cursor) pixel position within the input element.

Demonstration

caret location: 0px, 0px

Dependencies:

None

Browser Specific Notes

Opera is currently only partially supported. The caret position for Opera wont be correct if the input element is located in a centered environment.

In some cases the caret will disappear in mozilla firefox. This seems to be a graphical glitch.

Internet explorer currently has issues obtaining the caret position in textarea elements

Download

This package contains the code in both commented and compressed forms. The compressed version has had it's comments and unnecessary whitespace removed in order to reduce it's size.

download version
tar.gz (2,7 KB),
zip (5,4 KB)
0.1.0 (beta)

Tutorials on using this library

  • Coming Soon ...

BETA notice

While this library is in BETA phase YOU can help get it out of there quicker by submitting any bugs you may find to the bug database. Thanks for helping ;)

Changelog

2007.03.10 - vegu@vegui.org
        * version 0.1.0