Hi everyone, I'm facing a weird problem every time I try to submit a form... this actually has to do a bit with Javascript, which I'm still not very familiar with. but at least I could make it work.
So the issue is that when I submit the form with at least one of the the checkbox checked, I
always get the "isChecked" value as false... since this is what I set on the reset() method.... but this happens only when I submit it by hitting the link button that I made up and put some Javascript stuff in... so, I tried putting a submit button on my
JSP it worked just fine... so I'm assuming that this has to do with my Javascript.
Just so you guys know, I'm using
Struts.
JSP:
The Form:
This is the Action which I use to get the form values and print them out: