var _sel1 = $('.red'); var _sel2 = $('.yellow');
如何将它们合并成一个,而不使用不同的选择器?
// I don't want to do it this way var _sel3=$('.red,.yellow') or $('.red').add('.yellow');
add()
var _sel3 = _sel1.add(_sel2);