Click here to Skip to main content
15,887,350 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,
Please can any help me I have 20 input type check boxes which is generated Dynamically and i have provided name as Accept and id with integer where id's is given as back end value now i need to compare check boxes when user check one check boxes then dis id will store in Text box and it should compare with next clicked check boxes id when both are same then NO problem if both id's are not equal den i shuld show alert msg and if user uncheck any one of already checked checkbox then i got a prblm the value whch i stored is getting replaced with new id can any one pls help me to solve this issue.i need it in javascript
Posted
Updated 26-Aug-12 6:52am
v2
Comments
[no name] 26-Aug-12 11:24am    
Pretty much no one here is going to write your code for you. You need to try something yourself and ask specific questions about specific problems.
Joan M 26-Aug-12 12:52pm    
Put the code you've tried, explain us what is the problem and what you need. We'll help. But gimmecode is not working.
enhzflep 26-Aug-12 14:15pm    
Ahem, element id's are supposed to be unique. They don't HAVE to be, but it breaks much javascript functionality.

What are you trying to do? what have you tried? where are you stuck?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900