views:

171

answers:

2

Hi,

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

A: 

Remove the readonly and/or disabled attributes.

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

or:

document.getElementById('yourInputId').removeAttribute('readonly');
Darin Dimitrov
A: 

with jquery

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

$('#id').removeAttr("readonly"); 

if it is what you mean ?

Marco