I read a sample code I don't understand.
Do you know what || ">*"
means in find function ?
$.fn.ignore = function (sel) {
return this.clone().find(sel || ">*").remove().end();
};
What is the difference with find(sel) ?
I read a sample code I don't understand.
Do you know what || ">*"
means in find function ?
$.fn.ignore = function (sel) {
return this.clone().find(sel || ">*").remove().end();
};
What is the difference with find(sel) ?