Checkbox onclick not firing
        Posted  
        
            by javanix
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by javanix
        
        
        
        Published on 2010-03-08T23:23:00Z
        Indexed on 
            2010/03/08
            23:36 UTC
        
        
        Read the original article
        Hit count: 894
        
Hey Guys -
I'm at my wit's end with this.
Can anyone see anything wrong with this line? The function won't fire by clicking on the checkbox for some reason, but the calling function works fine (if I copy the exact "onclick" attribute over to the label for the checkbox, it works fine).
<input type="checkbox" name="match_35_0" id="match_35_0d" value="d0" onclick="checkSwap(document.page_form.match_35_0d, document.page_form.match_35_0)"></input> 
If anyone can see why on earth this wouldn't be working, I would really appreciate it.
Thanks!
© Stack Overflow or respective owner