JSFiddle - React, Tailwind, and code Playground
by each
HTML
<input type="text" value="this is a shit fucking value mate" />
JavaScript
$('input').bind('click', function() {
$(this).select();
});
by each
<input type="text" value="this is a shit fucking value mate" />
$('input').bind('click', function() {
$(this).select();
});