Forum Moderators: open

Message Too Old, No Replies

Cursor location

         

music_man

9:11 pm on Jan 6, 2007 (gmt 0)

10+ Year Member



Hi

I am building a live search function and I have got the db to interact and send me the data. What I do then is count how much is typed in the field and substr the response so it shows the rest.

The only thing is, the cursor goes to the end of the field when the rest is filled out, I would like it to retain its place as I type (so it can get limited further).

Thanks

Little_G

10:25 pm on Jan 6, 2007 (gmt 0)

10+ Year Member



Hi,

If you search for something like javascript caret position [google.com] you may find something of use.

Andrew