Tutorial :Cannot enter text in input field in IE6?



Question:

Please let me know how do I enable to enter text in input field in IE6 ?


Solution:1

Remove the readonly and/or disabled attributes.

document.getElementById('yourInputId').readonly = '';  document.getElementById('yourInputId').disabled = '';  

or:

document.getElementById('yourInputId').removeAttribute('readonly');  


Solution:2

with jquery

$('#id').attr("disabled", false);     $('#id').removeAttr("readonly");   

if it is what you mean ?


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »