Is there a way to use javascript to check if a button has been clicked
- by Ruth
Hi all,
I'm just curious if there is a simple way to do this, something along these lines
javascript:
if(document.getElementById('button').clicked == true)
{
alert("button was clicked");
}
html:
<input id="button" type="submit" name="button" value="enter"/>
Thank You
Ruth