this code is working fine on desktop browsers, but on iOS (iPhone 5 / iOS 7) it doesn't. By clicking outside the clicked input, the clicked input does not get readonly->true again. UPDATED CODE:
<script>
$(document).ready(function () {
$("input").prop("readonly", true);
$('input').bind('click', function () {
$(this).prop("readonly", false);
});
$('input').bind('blur', function () {
$(this).prop("readonly", true);
});
});
</script>