他の何かをクリックすると、最後の入力 (クリックされたもの) は readonly -> true になります。
ここに私のコードがあります:
<script>
$(document).ready(function() {
$("input").prop("readonly", true);
$("input").click(function() {
$(this).prop("readonly", false);
});
});
</script>
ありがとう!