PDA

View Full Version : How to find cursor position in HTML Editor


Jain Vijay
06-05-2009, 04:49 AM
Hi,
can any one tell me that how can we find cursor position in HTML editor?
There can be 2 possibilities:
1. We can find the position of cursor.
2. We can find the starting and Ending position of selected text.
I have done second task for IE but could not succeeded for Firefox.
Plz help me to find out the solution that can work in both IE and Firefox.
Thanx for any kind of help...

wisemx
06-05-2009, 06:23 AM
Hi,
Try some of these results:
http://www.bing.com/search?q=jscript+cursor+position
All the best,
Mark