So I am learning JavaScript.... I have gone way past this basic stuff in my learning but can't figure out why this wont work:
function message(){
alert("message");
}
<button onclick="message()">Click me</button>
On Js Bin all is ok http://jsbin.com/uwutut/1/edit
On Js fiddle the alert is not triggered!! http://jsfiddle.net/vincentieo/D2dxA/
It is the exact same code...copy and paste so no reason why js fiddle is being fussy??