I am trying to make jsfiddle , my onclick is not working in jsfiddle. what is wrong in my code
This one is working. Just remove it from document ready event. Also semicolons are optional in javascript but i advice to use them.
function myclick() { alert("myclick"); window.location.reload(true); }
Here is the fiddle.