Selecting select fields in jQuery 1.4 not working

Posted by Vnuk on Stack Overflow See other posts from Stack Overflow or by Vnuk
Published on 2010-03-31T12:17:53Z Indexed on 2010/03/31 12:23 UTC
Read the original article Hit count: 231

Filed under:

This works in jQuery 1.3.2, but not in 1.4

$("#container").children().map(function() {
    var child = $(this);

    if (child.is(":select")) {
        //do something with child
    }
});

What is the right way to do this in jQuery 1.4?

© Stack Overflow or respective owner

Related posts about jQuery