On 1/11/06, Eugene Lazutkin <[EMAIL PROTECTED]> wrote: > I am not against its use in form elements. It is useful indeed. But it > is handled differently in different browsers mostly because of > deficiency of the standard. That was my warning about.
I believe that you can use the attribute reliably in all browsers, if you stick to this pattern: - to disable, add the attribute: elt.setAttribute("disabled", "disabled") - to re-enable, remove the attribute: elt.removeAttribute("disabled") I don't know of any browsers that don't support that model, but I will confess that I haven't tested it explicitly in a while. Mike