I am trying to make jsfiddle , my onclick is not working in jsfiddle. what is wrong in my code
document.getElementById('a').onclick = function() { alert(1); }
http://jsfiddle.net/gs6rehnx/12/