JavaScript: How to get selected text of desired element name?
This will represent any selected text in whole page for IE5.x.
document.selection.createRange().text
What if I want to get text only from specified "input" control for IE (NS has its own methods and I don't need that) ?
|