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="disabled-input" type="text" value="This text should be selected." disabled>
|
|
<script>
|
|
var input = document.getElementById('disabled-input');
|
|
input.select();
|
|
</script>
|