SelectingΒ , clearing and focusing on input in Javascript.

Learn how to select text, focus and clear the text in input box in Javascript. input.value = “” β†’ this will make the input value to empty string. input.focus() β†’ this method will set focus on the input box. input.select() β†’ this will select the text in the input box. If you find this helpful …

Create your own website, free on WordPress.com.Create your own website.
Start free