var jqTds = $('>td', nRow)//jqTds为dom元素
1 回答
已采纳

pardon110
TA贡献1038条经验 获得超227个赞
这个是基本用法,看手册就明白了。
jQuery([selector,[context]])
selector:用来查找的字符串
context:作为待查找的 DOM 元素集、文档或 jQuery 对象。
简单点讲 var jqTds = $('>td', nRow) jqTds的元素集指的是在 nRow元素集内查找的 子集td
添加回答
举报
0/150
提交
取消