nodeName for selected text in Javascript
<p>I am making a HTML text editor.
For this,i have a div with contenteditable set to true.
For making a selected text "bold",i am trying to find node of the selected text.
How should i do this or is there is any other way to implement this(particular in ie).</p>
