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 follows:
<input type="button" onClick="click()">button text</input>  
The problem is that when the button is clicked, the function is not called. What am I doing wrong here?
 
     
     
     
     
     
     
     
     
     
     
     
    