Dear All,
Please suppose that I have this line of code, and that my selection range goes from div element with id=1, starting at '2', to div element with id='2', ending at '8'.
<div id='1'>1
23</div>456<div id='2'>7
89</div>
.
I'm using chrome, I would like to get the position of the cursor inside each element. I would get position 1 in div with id='1', and position 1 as well in div with id='2'.
Thank you so much for yout help,
Regards