is there anyway of distinguishing between whether the button is clicked directly by a mouse or its click event has been triggered logically?
<input type="button" id="someID" value="dene" onclick="alert('something');" />
<input type="button" value="dene2" id ="someID2" onclick="document.getElementById('someID').click()" />
now guys i want some kind of thing : when you directly click on someID button, it wont do anything, but when you click on someID2 button, it will alert.
I deadly need this. please help.
thanks