File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes checkbox mark disappears.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "checkbox mark disappears.." Watch "checkbox mark disappears.." New topic

checkbox mark disappears..

mallika shah
Ranch Hand

Joined: May 11, 2006
Posts: 164
Hello friends,
I am working on a web page where there are 5 checkbox selections on left page navigation, based on which the items would be displayed.
under five checkboxes, there is a submit button to search based on checkbox criteria,
But when i click the search button,, the items are displayed according to the criteria, but hte check mark disappears,
I want the check mark to be persisted , so the user is able to know based on what selections he has got he products list.

How to do it?

Jeff Rummings
Ranch Hand

Joined: Dec 20, 2007
Posts: 42
You need to specify 'checked' to keep its state, e.g.

jQuery in Action, 3rd edition
subject: checkbox mark disappears..
It's not a secret anymore!