jquery - Why this event is not fired on fiddle? -


this code! don't know why addtrack not recognized :

<input type="submit" onclick="addtrack(this);return false" value=" add ">  function addtrack(param) {     alert("ciao"); } 

error : uncaught referenceerror: addtrack not defined

set script insertion mode no wrap (head) instead of onload , work expected.

updated fiddle here.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -