Answers for "js select input contents"

1

js select input contents

function selectText() {
  const input = document.getElementById('text-box');
  input.focus();
  input.select();
}
Posted by: Guest on October-19-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language