HI,
How can i get the Parent Element of the selected Text.
Suppose i have <ol><li>text1</li><li>text2</li></ol> when i select text1, I need to get <ol> that is parent of <li> . Please help me out.
Thanks in Advance
HI,
How can i get the Parent Element of the selected Text.
Suppose i have <ol><li>text1</li><li>text2</li></ol> when i select text1, I need to get <ol> that is parent of <li> . Please help me out.
Thanks in Advance