<input type="text" id="text"/>
$('#text').on('click', function(e) {
e.target.setSelectionRange(0, e.target.value.length);
});
iosがjQueryの.select()使えないのでこれで
Go to list of users who liked
More than 5 years have passed since last update.
<input type="text" id="text"/>
$('#text').on('click', function(e) {
e.target.setSelectionRange(0, e.target.value.length);
});
iosがjQueryの.select()使えないのでこれで
Register as a new user and use Qiita more conveniently
Go to list of users who liked