getCursorPosition( input element )
Retrieves the relative cursor position within a textbox. Â If the cursor is not within the box, -1 is returned.
Parameters:
input element - object reference to the textbox
Retrieves the relative cursor position within a textbox. Â If the cursor is not within the box, -1 is returned.
Parameters:
input element - object reference to the textbox