JavaScript Set Readonly Eigenschaft

document.getElementById('InputFieldID').readOnly = true;
Mobile Star