I am using $('#div').children().each() but want to find a nested value within one of those children

Posted by toddv on Stack Overflow See other posts from Stack Overflow or by toddv
Published on 2010-05-12T15:55:25Z Indexed on 2010/05/12 16:04 UTC
Read the original article Hit count: 85

Filed under:
 $('#combineDiv').children().each(
              function(){
                if ($(this + ":first-child").attr('class') == 'combinedColumn') {
                                   alert('found ONE!');
                            }
                        });

I have a hidden input in some of the divs in the children of the div #combineDiv... just dont know how to combine the THIS keyword with a selector... :(

© Stack Overflow or respective owner

Related posts about jQuery