jbelmonte
01-30-2003, 09:08 PM
Hi,
I have been trying to write a cross-browser compatible character counting JavaScript function. In addition, I have looked at a number of "free" scripts; however, my script, like every other script I have been able to locate, provides different numbers for the same text when Netscape is used instead of IE. It appears that Netscape handles and reports carriage returns in the <textarea> differently than IE, so the counters diverge. I was hoping that someone might be able to point me to a reference source or two where I can research the problem.
TIA for any assistance you can provide.
Best regards,
John
jbelmonte@prontomail.com
I have been trying to write a cross-browser compatible character counting JavaScript function. In addition, I have looked at a number of "free" scripts; however, my script, like every other script I have been able to locate, provides different numbers for the same text when Netscape is used instead of IE. It appears that Netscape handles and reports carriage returns in the <textarea> differently than IE, so the counters diverge. I was hoping that someone might be able to point me to a reference source or two where I can research the problem.
TIA for any assistance you can provide.
Best regards,
John
jbelmonte@prontomail.com