I have some JavaScript code in an HTML page with a button. I have a function called \'click()\' that handles the onClick event of the button. The code for the button is as f
I had the same problem where onclick function calls would not work. I had included the function inside the usual "$(document).ready(function(){});" block used to wrap jquery scripts. Commenting this block out solved the problem.