JavaScript mengatur properti readonly
document.getElementById('InputFieldID').readOnly = true;
Mobile Star
document.getElementById('InputFieldID').readOnly = true;