Just curious... what's the jQuery-way of saying "Give me all children
that match a filter and include myself if I happen to match as well."?
I've been using -
element.find("*").andSelf().filter([myfilter])
but that seems kludgy. Is there a better way? If not, I'll just wrap
this as "findInclus
Hi all!
Is there better way?
var elem = $('#container')[0];
var arr = ["header","content","footer"];
jQuery.each(elem.childNodes,function(k,v) {
if (jQuery.inArray(v.id, arr) < 0) {
$(v).empty();
}
})
thanks
Dirceu Barquette
Hi,
Subject line is the question. How do I use JQuery to set the page
title (what goes in the tags)?
Thanks, - Dave
3 matches
Mail list logo