aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Button Onclick event Not Functioning Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Button Onclick event Not Functioning" Watch "Button Onclick event Not Functioning" New topic
Author

Button Onclick event Not Functioning

Ayan Biswas
Ranch Hand

Joined: Jul 10, 2010
Posts: 95
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?


AyanBiswas
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
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.

 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Button Onclick event Not Functioning
 
Similar Threads
How to pass runtime variables to Javascript function on onclick event form struts html:button tag ?
trapped in html:cancel tag ...
For a single submission on a jsp , two instances are generated in baseaction class
Use of Javascript with struts custom tag <html:button> and <html:submit>
Submitting Multiple Forms From A Single Page