[Solved] Console Error on webpage – Javascript [closed]
The error is in the following code: $(“#submitbtn”).on(click, function() { console.log(“clicked”); return false }) it should be: $(“#submitbtn”).on(“click”, function() { console.log(“clicked”); return false }) (Note on the double strings before and after click) In order to debug your code first take atention to the error message, then click on the file that its throwing the … Read more