2

i need window.getSelection() alternative function in jquery. please any one help me.

shanmugam
  • 29
  • 2

1 Answers1

1

getSelection() will not work prior to IE9.

See my answer here for a way to handle this for a particular question that might get you started as you have no other details that we can go by to assist you more specifically.

getSelection() not working in IE

EDIT: I took the time to refine this just a bit. See my example here: http://jsfiddle.net/MarkSchultheiss/wqDWV/

Community
  • 1
  • 1
Mark Schultheiss
  • 32,614
  • 12
  • 69
  • 100