/ Published in: jQuery
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
var radio_groups = {}
$(":radio").each(function(){
radio_groups[this.name] = true;
})
for(group in radio_groups){
if ($(:radio[name="+group+"]:checked).length ==0) {
//not checked
} else {
//checked
}
}
URL: http://stackoverflow.com/questions/1165627/jquery-and-radio-button-groups
Comments
 Subscribe to comments
                    Subscribe to comments
                
                