The button does not call the specified function.
When i am debugging the onclick function does not gets called.
This gets called when i load the page for the first time and click on the button. But the same button when clicked second time does not gets called