【发布时间】:2012-02-16 00:58:19
【问题描述】:
可能重复:
What is the new proper way to use a child selector with a context node in jQuery?
来自 jQuery 文档:
注意:$("> elem", context) 选择器将在未来的版本中被弃用。因此不鼓励使用它来代替使用替代选择器。
http://api.jquery.com/child-selector/
alternative selector 是什么?
【问题讨论】: