Help! I can't figure out why my code isn't working as expected.
I've been trying to set up a jsFiddle, but for some reason, none of the JavaScript functions are being attached to the elements. For example, when I click on a button, nothing happens even though it should call my function.
It's frustrating because my fiddle is very basic and straightforward. I simply copied and pasted it from W3 editor where it was functioning perfectly - click the button and an alert pops up!
<button onclick="myFunction()">Click me</button>
function myFunction() {alert("sss");}
http://jsfiddle.net/tpip/NYkQN/2/
Can anyone help me troubleshoot this issue?