You can get the input element and then set its readOnly property to true as follows: document.getElementById('InputFieldID').readOnly = true ...
確定! 回上一頁