jquery select not class form multiclass assigment

Posted by ntan on Stack Overflow See other posts from Stack Overflow or by ntan
Published on 2010-03-11T17:21:52Z Indexed on 2010/03/11 17:24 UTC
Read the original article Hit count: 223

Filed under:
|

Hi i am having the follow code

<div id="container">
    <div class="element NOTME"></div>
    <div class="element"></div>
    <div class="element"></div>
    <div class="element"></div>
</div>

the code below select the inputs inside container with class element

$("#container .element input[name^='myname']").each

How can i rewrite the above code (the selector actually) that will exclude when has class NOTME

Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about selector