看起来在使用选择器时,JQuery会在当前的document中执行搜索。
JQuery
document
如何仅在div元素内搜索元素?
div
https://stackoverflow.com/questions/10543897
相似问题