• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Button Onclick event Not Functioning

 
Ayan Biswas
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my button tag

And the javascript function is bellow

But this is not working.The javascript function is not getting called when I click on the button.
Although the same function is working properly image onclick event


(I am using Struts 1).What to do now?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looking at serverside code never helps with clientside, what does the generated code look like? View page source, copy that code.

also javascript: label is a waste, remove it.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic