[Project_owners] Disable OK button in dialog

Gustavo Araujo Bittencourt g.bitten at bol.com.br
Thu Mar 18 07:04:17 EST 2004


I am sure there is a very obvious way to enable/disable OK button in 
dialog via javascript.
I tried this:
  
document.getElementsByAttribute("label","OK").item(0).setAttribute("disabled", 
"true");
  
document.getElementsByAttribute("label","OK").item(0).removeAttribute("disabled");
But returned error

TIA,
Gustavo Bittencourt.



More information about the Project_owners mailing list