This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I have a Jsp page which accepts name, email, address etc and i have a checkbox at the end which says i accept--and theres a link to terms and conditions..
the problem is when i check the checkbox and click on terms and conditions and then if i go back to the jsp page(by hitting back) the check box is still checked in the jsp page and the submit button is disabled..i have to uncheck and check the checkbox again to get the submit button working..
is there any way i can resolve this
Please read this regarding the utility of "it didn't work". That doesn't tell us anything useful.
Joined: Dec 29, 2009
Thank you for reminding about the issue..I will take care of that
basically what i am trying to say is where should i put the onLoad() in the jsp page..
and i was thinking that the definition of the function called by onLoad should be as follows
Also, more people will look at your code if you use code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. See this for more information.
You can go back and change your post to add code tags by clicking the button on your post.
Joined: Dec 29, 2009
instead of correcting all my post if you could have put some effort trying to figure out a solution
it would have been better for me and many more people who read this..
I dont think theres anything wrong in my question
Bear is helping you. But you need to help us by simply putting a bit of effort into your questions and posts. Telling volunteers they need to put effort into helping you isn't the best way to go around these parts. I've edited your posts to include the code tags Bear mentioned. You'll see that this is much easier to read.
jack burnett wrote:No..had tried that earlier
Yes, because it works fine for me. Maybe you could do what I requested and show me the JSP and not just a fragment. It might even help to show me the post rendered HTML rather than the variabled version. You never know what might be jacked up in your expressions. You should also be using Firebug with Firefox for debugging.
subject: Capture the back page event in java script