By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,780 Members | 1,126 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,780 IT Pros & Developers. It's quick & easy.

Check Checkboxes

P: 32
Hi all,
I have N checkboxes in my table.If I click any checkboxes, the other checkboxes in the
tables are to be unchecked, and the current one to be checked. How can I?

Thanks
Dana
Feb 4 '08 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Call a function onclick which gets all the checkboxes using document.getElementsByName(checkboxName) and unchecks them except the one that was clicked.
Feb 4 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.