codice:
function deselectIt(b) {
 alert("Bottone premuto: "+b.value);
 b.disabled=true;
}
da usare così:

codice:
<input type="button" onclick="deselectIt(this);" value="Pulsante 1" name="pulsante" />
ciao