How can I make (in pure Java Script) a html button appear, but disabled ? I've tried this : - object.style.visibility='visible' - object.style.disabled=True and it did'nt worked, the button appeared but enabled. What's the object's property and it's sintaxe for disabling ? Thank's in advance, NM
Nuno Machado wrote: > How can I make (in pure Java Script) a html button appear, but > disabled ? I've tried this : > - object.style.visibility='visible' > - object.style.disabled=True > and it did'nt worked, the button appeared but enabled. object.disabled = true -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925