Firesfox textbox selection and its location

G

GeezerButler

How can i get the actual screen coordinates of text selection inside a
textbox in firefox?

In IE, we can do this by using TextRange tr =
TextBox.createTextRange() and then using tr.offsetTop and
tr.offsetLeft

Anyone has any idea on how to do this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top