I have created a very simple fiddle in JsFiddle. To my surprise it is not working. Please let me know if I am mistaking anything.
HTML-
<button onclick="test1()">
Push
</button>
<input type="button" value="Click" onclick="test1()"/>
JS-
function test1(){
alert("1");
}
I want to show a simple alert on button click but it is not showing up.
Please click here to see this simple fiddle.
onclicknotonclcik