How to I save selection and range in js?

后端 未结 0 1981
我在风中等你
我在风中等你 2021-02-12 14:41

I changed div\'s content when keyup() event occurrs. And, whenever do it, cursor has been reset.

So, I tried this code to save selection and range but doesn\'t work.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题