Hi!
On loading a form, i'm trying to disable a few text boxes and combo boxes.
I'm using the following javascript:
function disableStuff(f){
f.SectionNumber.disabled = true
}
or
function disableStuff(f){
f.SectionNumber.readonly = "yes"
}
which is run from:
<body onload="init(); disableStuff(f)">
I get the following javascript error:
SectionNumber is not an object
Can anyone tell me how i can disable these elements??
Thanks
Julie
On loading a form, i'm trying to disable a few text boxes and combo boxes.
I'm using the following javascript:
function disableStuff(f){
f.SectionNumber.disabled = true
}
or
function disableStuff(f){
f.SectionNumber.readonly = "yes"
}
which is run from:
<body onload="init(); disableStuff(f)">
I get the following javascript error:
SectionNumber is not an object
Can anyone tell me how i can disable these elements??
Thanks
Julie