Jump to content

[Solved] Finding screen/window position of input/textarea Carat


wongadob

Recommended Posts

I have a password entry box and I am trying to display the character that the user has entered. I am aware of the jQuery pluggin dpassword which replicates the iphone input, but I need a little more control. I have the system pretty much working based on another solution. However the one thing I need to know is how to find out the screen Top, Left position of the carat. Any ideas how I can get this. I have seen solutions that give you the character index into the text area, but I need the screen position as I want to display the currently entered character immediately infront of the last character. I am sure there must be some way of finding this out. even if it is just relative to the start of the password entry box (as I am sure I can get that's Top Left co-ordinate. Thanks for the help Wongadob

Edited by wongadob
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...