<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<ul>
<li index='lk1'><a href="#" onclick="go(this)">第二次</a></li>
</ul>
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script>
function go(obj) {
//不可以直接这么写$(this) 指向了window
console.log($(obj).html()); //第二次
}
</script>
</body>
</html>