Sign in | Join
Last post 01-06-2009 4:08 AM by girishnehte. 4 replies.
Sort Posts: Oldest to newest Newest to oldest
Hello Friends,
can we get cordinates of keyboard curson. Actually I am creating a pop up contextmenu that is popping up at mouse cursor but can we get the keyboard curson so that I can pop up the menu where the user is writing in the page. Please let me know.
Thanks & RegardsGirish Nehte
Hi girishnehte,
I think this related post will help you: http://forums.asp.net/t/1364418.aspx
Hope this helps.
Hi Syntax
I think that post is related to get mouse cordinates. But my question is to get the cordinates of keyboard cursor. Please let me knwo if this can be done.
Thanks & RegardsGirish Neehte
Sorry i misread the question. I have found an example here [ http://javascript.nwbox.com/cursor_position/ ], but there doesn't seem to be any exposed code, but you can probably find the javascript in the source.
That gives me the cursor position whereas I want the screen coordinates(x and y coordinate) of the keyboard cursor. can this be done or it cannot be done at all, please let me know