jQuery中,如果通过this获取到里面的元素?

2025-04-04 18:41:34
推荐回答(1个)
回答1:

通过class就可以了,选择器的第二个参数写$(this),表示当前元素下的指定class的元素
$(".price",$(this))