<body>
<ul>
<li>1.xxxx</li>
<li>2.xxxx</li>
<li>3.xxxx</li>
<li>4.xxxx</li>
<li>5.xxxx</li>
</ul>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script>
//把li的事件托管到ul上
$('ul').on('click', 'li', function () {
//console.log(event.target);
console.log(this);
})
</script>
</body>