Do we need to differntiate anything for this in IE8?

Posted by kumar on Stack Overflow See other posts from Stack Overflow or by kumar
Published on 2010-06-16T13:07:14Z Indexed on 2010/06/16 13:12 UTC
Read the original article Hit count: 291

I have this code in my application

  var checked = $('#fieldset input[type=checkbox]:checked');
                    var ids= checked.map(function() {
                        return $(this).val();
                    }).get().join(',');

in firefox I am getting all the checked Ids something like this.. 123,234,443.. but same code in IE8 its showing only first Id not all checked id's even its checked?

Even if I uncheck the first checkbox if I check second checkbox second checkbox value showing as null?

can anybody help me out? thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about browser-compatibility