Click to See Complete Forum and Search --> : Determing column number of textbox


Dima
07-28-2003, 10:40 AM
I was wondering. Is it possible to determine the specific column number of a textbox when user enters a key?

For example. Say a textbox has entery:

ABCDEFG

User clicks into the textbox, then moves cursor with a left or right arrow key to the letter "D". Then he/she presses on any key on the keyboard. I would like to be able to trap (in a javascript function) that the column where user is making entry is 4.

Is it possible?

TIA.