【发布时间】:2012-09-12 00:59:28
【问题描述】:
不知道我是否在这里遗漏了什么。我想通过相同的方法运行多个全局变量。见下文
$('#pageMain .stuff, #pageMain .postFooter').each(function(){
$(this).vertCenter();
});
而是使用全局变量:
$main, $titles, $footers
比如……
$($main, $titles, $footers).each(). . .
【问题讨论】:
标签: jquery variables selector global