Creating Links with Mozilla's window.getSelection() Method
Friday October 25th, 2002
Kenneth Dillon writes: "This morning, IBM developerWorks published a tutorial detailing how Mozilla's cutting-edge ECMAScript and W3C DOM support and its nonstandard, but incredibly useful
#5 Re: Non-standard?
Friday October 25th, 2002 11:52 AM
You are replying to this message
It probably is a mozilla only feature. I believe get selection was added because the browser needed it for such features as "Web search for 'selected text'" and View Selected Source. All it does is return what text is currently selected.
Mozilla isn't pushing for people to use it. This code is by IBM. They also have .innerHTML which isn't defined anywhere else except in IE.