This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

storing checkbox values

 
Abhishek Reddy
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic