How would I select the first element in the following with jQuery? heading 6条回答 予麋鹿 (楼主) 2021-01-03 19:31 $('div p:first') answer was too short to post without this useless sentence. Edit This is definitely a slow option. After looking at Jame's speed test, it looks like jQuery selectors work best when they piggy back off of css selectors. 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
with jQuery? heading 6条回答 予麋鹿 (楼主) 2021-01-03 19:31 $('div p:first') answer was too short to post without this useless sentence. Edit This is definitely a slow option. After looking at Jame's speed test, it looks like jQuery selectors work best when they piggy back off of css selectors. 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
heading
$('div p:first')
answer was too short to post without this useless sentence.
Edit This is definitely a slow option. After looking at Jame's speed test, it looks like jQuery selectors work best when they piggy back off of css selectors.