$(this).next()
等价于$(this)['next']()
[ ] 中可以写入表达式=》 str.length>10?’prev’:’next’- $(“div”,”li”) 从当前li中查询获取div
jQuery中的小技巧
最新推荐文章于 2024-12-23 16:17:12 发布
$(this).next()
等价于$(this)['next']()