且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

jquery在父div中选择类

更新时间:2023-01-28 18:40:38

您可以使用父div作为范围:

you can use the parent div as the scope:

 $('.add_answer',$(this).parent('div:first')).attr('alt',count);