> Hi!
>
[quoted text clipped - 6 lines]
>
> Regards /Ulrika
function denyReadingPrivilegesToTextInputs(form){
var f=form.length;
while(f--){
if(form.elements[f].type=="text"){
form.elements[f].readOnly=true;
}
}
}
Note "readOnly" property, it's case sensative.
Mick
Mick White - 30 Jun 2005 15:38 GMT
[snip]
> function denyReadingPrivilegesToTextInputs(form){
> var f=form.length;
[quoted text clipped - 4 lines]
> }
> }
That should be, of course:
function denyWritingPrivilegesToTextInputs(form)
Mick