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

option selection using java script

P: 17
i have a assignment like

based on the dynamic value pair of option button i want to create
like if i give 4 then i want to create 4 pair of option box
each pair have five check box.
in that ,if i click a first pair first option all the five checkbox want to checked ... and
if i click a first pair second option all the five check box checked should be false.

please help me..

thank you
Oct 12 '06 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
For creating elements, use document.createElement(), then append them using appendChild().
To check checkboxes, set their "checked" properties to true and to uncheck them, set them to false.
May 24 '08 #2

Post your reply

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