Hi,
I'm using the Jquery extension fieldSelection ( See at:
http://laboratorium.0xab.cd/jquery/fieldselection/0.2.3-test/test.html
)

This extension resolves the selectRange problem of the tradicional
javascript, but, I found another problem now, the start and end
positions returned are different in IE and FF.

Look at this:
In the fieldselection extension's site, we've a example box, when I
select the word "test" of the second textarea, in the Internet
Explorer it shows:
start: 31 , end: 35

and in the Firefox:
start: 29, end: 33

This difference is because the firefox don't count the "\n"
caracter... How can I get the same positions in both browsers?

Thankx,
Diego Pessoa

Reply via email to