mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
6 lines
177 B
HTML
6 lines
177 B
HTML
<input id="readonly-input" type="text" value="This text should be selected." readonly>
|
|
<script>
|
|
var input = document.getElementById('readonly-input');
|
|
input.select();
|
|
</script>
|