Please? On Tue, Nov 4, 2008 at 13:07, Diego Pessoa <[EMAIL PROTECTED]> wrote:
> Can someone help me? > > > On Mon, Nov 3, 2008 at 19:40, Diego Pessoa <[EMAIL PROTECTED]>wrote: > >> >> 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 > > >