Selecting text in an element (akin to highlighting with your mouse)

后端 未结 16 1623
孤街浪徒
孤街浪徒 2020-11-21 05:58

I would like to have users click a link, then it selects the HTML text in another element (not an input).

By \"select\" I mean the same way you would select

16条回答
提交回复
热议问题