For a markup like
div 1 div 2 div 3 6条回答 暖寄归人 (楼主) 2020-12-13 09:30 $("#holder div:eq(1)") will select the second child div of the #holder div. (:eq() selector info). Then use the .after() function to append content. 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
$("#holder div:eq(1)") will select the second child div of the #holder div. (:eq() selector info). Then use the .after() function to append content.
$("#holder div:eq(1)")
#holder
.after()