Como detectar um botão Clique em JavaScript
if(document.getElementById('button').clicked == true)
{
alert("button was clicked");
}
Bloody Beetle
if(document.getElementById('button').clicked == true)
{
alert("button was clicked");
}