Abhishek Chadha

Abhishek Chadha

  • 250
  • 7.3k
  • 496.7k

Change text selection in javascript

Jul 4 2023 11:14 AM

is there any way we can manually change the text selection in mobile html in javascript and while changing the selection side arrows should remain there.

 for example, if a user selects one word in div and we can select the whole text of div after that through javascript


Answers (1)