[url]http://www.gbin1.com/technology/jquery/50jquerycodesnippetsforbetterjavascript/index.html[/url]
[url]http://addyosmani.com/blog/50-jquery-snippets-for-developers/[/url]
How to Create A Nested Filter:
view plaincopy to clipboardprint?
//a filter allows you to reduce the set of matched elements
//to those that match a given selector. In this case the query
//removes anything which doesn't (:not) have (:has) a child with
//class "selected" (.selected)
[color=red] .filter(":not(:has(.selected))") [/color]
[url]http://addyosmani.com/blog/50-jquery-snippets-for-developers/[/url]
How to Create A Nested Filter:
view plaincopy to clipboardprint?
//a filter allows you to reduce the set of matched elements
//to those that match a given selector. In this case the query
//removes anything which doesn't (:not) have (:has) a child with
//class "selected" (.selected)
[color=red] .filter(":not(:has(.selected))") [/color]