<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="box">
<div>adsfasdf</div>
<p>sfasdf</p>
<span>asdfa</span>
<div>
<span class="aa">nihao</span>
</div>
</div>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script>
var $box = $('.box');
// span是元素选择器, 也可以换成其他的选择器, 比如id,class
var $aa = $box.find('.aa')
console.log($aa);
// 查找$box所有后代元素
var $souyou = $box.children()
console.log($souyou);
</script>
</body>
</html>