RemoteSilicon
Programmer
Hi guys!
I have written a code that checks whether the user has selected any words in a text area. The syntax is :
document.selection.createRange().text
It works perfectly well in IE but I also have to make it work for Netscape 6. Can anyone help me in writing a compatible code.
I have written a code that checks whether the user has selected any words in a text area. The syntax is :
document.selection.createRange().text
It works perfectly well in IE but I also have to make it work for Netscape 6. Can anyone help me in writing a compatible code.