【发布时间】:2013-01-30 22:20:56
【问题描述】:
有一段时间我使用 jQuery,有时我会看到:
$(argument1, argument2).doSomething();
使用第二个参数进行过滤的文档在哪里?
编辑:
我说的是这种使用方式:
var t=0; // the height of the highest element (after the function runs)
var t_elem; // the highest element (after the function runs)
$("*",elem).each(function () {
$this = $(this);
if ( $this.outerHeight() > t ) {
t_elem=this;
t=$this.outerHeight();
}
});
注意:
$("*",elem)
我不是在说
$("a,b,span")
过滤方式。我现在很好。
【问题讨论】:
标签: jquery