jQuery 的 .each()
中 $(this)
和 $(elem)
(第二个参数)之间是否存在速度差异?循环”?
最佳答案
没有; this
和 elem
都引用原始 DOM 元素。
关于jquery - jQuery 的each 方法中的$(this) 和$(element),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14092519/
jQuery 的 .each()
中 $(this)
和 $(elem)
(第二个参数)之间是否存在速度差异?循环”?
最佳答案
没有; this
和 elem
都引用原始 DOM 元素。
关于jquery - jQuery 的each 方法中的$(this) 和$(element),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14092519/