I have a jsp where in I include many javascript files. I registered a method name "validate()" onclick of a button.
I wrote this method definition in a javascript file(validator1.js) which is included in the jsp. Now when the onclick event of the button is triggered, a validate method in a different file ("globalValidator1.js") is getting called.
For now I have changed the onclick method name and the definition of my method,
But is there a way, in which I can ensure that my method gets called? Any inputs will be appreciated.