if clicking something else, the last input (which was clicked) should be readonly -> true again.
here is my code:
<script>
$(document).ready(function() {
$("input").prop("readonly", true);
$("input").click(function() {
$(this).prop("readonly", false);
});
});
</script>
thanks!
try this