asked on October 10, 2014
        
            
                •
                Show version history
            
Hello,
I use a checkbox as a flag and while it can be manually set there are times I want to automatically uncheck it.
I gave the checkbox a class of "checkbox" and tried using both of the following with no success.
$('.checkbox').attr('checked', false);
$('.checkbox').prop('checked', false);
It may be related but I also had trouble checking the status of the checkbox with .attr and had to use $('.checkbox input').is(':checked') instead.
Thanks for any help!
                                    
                                    
                                        0
                                    
                                        
                                            0