aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes storing checkbox values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "storing checkbox values" Watch "storing checkbox values" New topic
Author

storing checkbox values

Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
iam using a varible in javascript whose value will be equal to the selected check box values...the values of check box differ from each other..
to differentiate the values iam using "^" character and then appending all check box values..
for the first time it is working fine..
when i click the checkboxes next time...the old values of the checkboxes are not going..i mean the new check box values are appending to the old values...
when i refresh the page it is comming fine...
tell me how to stop this ...ie i need only the currently selected check box values...
please help me..
[ July 04, 2007: Message edited by: Bear Bibeault ]

Abhishek
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60056
    
  65

Firstly, please be sure to take the time to compose descriptive subjects for your posts -- read this for more information. I have adjusted this one for you.

Secondly, without code, we can only guess at your problem. Please be sure to show code, and to use UBB code tags when you do.

Finally, why are you using a string with ^ as delimiters rather than an array to store the values.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: storing checkbox values
 
Similar Threads
jsf page refresh
Retaining checkbox chech uncheck values during pagination in display tag
storing check boxes values into diffrent columns
checkbox
Check Box in JTable header