Как обнаружить кнопку, нажмите на JavaScript
if(document.getElementById('button').clicked == true)
{
alert("button was clicked");
}
Bloody Beetle
if(document.getElementById('button').clicked == true)
{
alert("button was clicked");
}