Vlaad
05-28-2003, 01:29 AM
Hello people,
I'm having a niggling difficulty using Internet Explorer, where the following code:
x.setAttribute('readonly','true');
does NOT set the readonly attribute to true.
It's working fine in Mozilla, so I can't really see what the problem is (though I encountered something I'm guessing is pretty much the same in the x.className VS x.setAttribute('class','name') function problem.
It's just a simple problem, but it's annoying the crap out of me.
Please help!
Much appreciated!
I'm having a niggling difficulty using Internet Explorer, where the following code:
x.setAttribute('readonly','true');
does NOT set the readonly attribute to true.
It's working fine in Mozilla, so I can't really see what the problem is (though I encountered something I'm guessing is pretty much the same in the x.className VS x.setAttribute('class','name') function problem.
It's just a simple problem, but it's annoying the crap out of me.
Please help!
Much appreciated!