jQuery $(this)语法问题 [英] jQuery $(this) syntax question
本文介绍了jQuery $(this)语法问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是一个有效的选择器吗?如果没有,正确的方法是什么?
Is this a valid selector? If not, what's the correct way?
$($(this)+' childElement')....
推荐答案
使用
$(this).find("childrenSelector")
这篇关于jQuery $(this)语法问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文