Hello,
I created a custom radio and checkbox script. However Im having trouble with the Radio Buttons. How do I get it so that radio buttons that have the same name should be treated as a group. (link below) So if I have:
[CODE]
<input type=”radio” name=”sex” id=”female” />
<input type=”radio” name=”sex” id=”male” />
So here in the example above you should only be allowed to select one. Since the name attribute is the same in the both of them.
Please feel free to critique the script and offer pointers as well.
Im really stuck on this situation, though.
LINK : [url]http://mikewgd.com/wp-content/portfolio/JavaScript/custom-form-elements.html
Thank you