JSFiddle - React, Tailwind, and code Playground

by karim79

HTML

<input value="test"/>

JavaScript

$("input").click().select();