i have a div with contentEditable set to true.
I have to find selected text html.I am able to get selected text in FireFox by
window.getSelection();
I case of IE i am able to get selected text html by using
document.selection.createRange().
But, how can i find selected text html in FireFox.
How can in do this.Please help.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…