I have the below html structure, i want to find the inner html of first div with class as \"popcontent\" using jQuery
8条回答 死守一世寂寞 (楼主) 2020-12-14 06:05 first occurrence of class in div $('.popContent').eq(0).html('value to set'); Second occurrence of class in div $('.popContent').eq(1).html('value to set'); 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
first occurrence of class in div
$('.popContent').eq(0).html('value to set');
Second occurrence of class in div
$('.popContent').eq(1).html('value to set');