what's wrong with this code..
        Posted  
        
            by rockers
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by rockers
        
        
        
        Published on 2010-06-14T20:20:51Z
        Indexed on 
            2010/06/14
            20:32 UTC
        
        
        Read the original article
        Hit count: 207
        
jQuery
$('#PbtnSubmit').click(function() {
            if ($("#PricingEditExceptions input:checkbox:checked").length > 0) {
                var chec = $('#PricingEditExceptions input[type=checkbox]:checked');
                var strIDs = chec.map(function() {
                    return $(this).val();
                }).get().join(",");
                alert(PMstrIDs);
                $('#1_exceptiontypes').attr('value', exceptiontypes)
                $('#1_PMstrIDs').attr('value', PMstrIDs);
            } else {
                alert("please select atleast one exception");
                return false;
            }
        });
 var checked = $('#PricingEditExceptions input[type=checkbox]:checked'); 
this code returns correct value in Firefox but not in IE8.. is that something need to change?
why I am not getting all the checked checkboxes in IE8?
please can anybody help me out?
thanks
© Stack Overflow or respective owner