what's wrong with this code..
- by rockers
$('#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