2 Topics

Member Avatar for
Member Avatar for softDeveloper

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`2`3</div>456<div id='2'>7`8`9</div>`. I'm using chrome, I would like to get the position of the cursor inside …

Member Avatar for patocardo
0
177
Member Avatar for softDeveloper

Hi all, I'm trying to get the caret position of an iframe. I tried several ways, based on this example: [url]http://stackoverflow.com/questions/8664504/designmode-iframe-get-cursor-position[/url] Anyway I try I allways get the start position of the selected text added with 19. I'm not getting why?

0
80

The End.