Done - You Want to Click On Some Text On Your Page to Select It
Thank you Taewan Kim.
Starting with <p>, just change that to (click below in the colored area to select it)
<p onclick="var range = document.createRange(); range.selectNodeContents(this); window.getSelection().removeAllRanges(); window.getSelection().addRange(range);">
And you're done
Comments
Post a Comment