irt.org FAQ Knowledge Base Q1182
Tim Leclair on November 22, 2002 at 07:27:21:
Not worth reading
This code posted is not functional. window.findText is nto supported. I think what was meant was:
var rangeText = document.body.createTextRange( );
rangeText.findText('Please do not cut and paste.');
However this still does not work. I have an idea. Create an mouseup event handler and check the selected text if it is not nothing on mouse up set it to nothing. It's as simple as that.
Other feedback on 'irt.org FAQ Knowledge Base Q1182' - show all