Mega Code Archive

 
Categories / JavaScript DHTML / Form Control
 

Disable a Button

<html> <body> <button onclick="this.disabled='true'; alert(this.isDisabled);">Disable Me</button> </body> </html>