This might be a mozilla stuff. I have used it this way and it works. Did you try what MattEvans suggested?
Originally Posted by
rpjanaka
ya. i have already used the id property to access it, but still it is not working. i am using the Mozilla browser. so the way to access the image is as follow.
document.getElementById("add").disabled = true;
Last edited by jamello : Mar 19th, 2007 at 1:08 pm.