Click the text box to select all text

From , 2 Years ago, written in JavaScript, viewed 233 times.
URL https://pastebin.vip/view/9b2f00f3
  1. document.onclick=function(){
  2. if (event.srcElement.type == "text") {  
  3. event.srcElement.select();
  4. }  
  5. }

Reply to "Click the text box to select all text"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website