<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
<title>JS Bin</title>
</head>
<body>
<button type="button">aaa</button>
</body>
</html>
$(document).ready(function(){
$("button").click(function(){
$("button").text("bbb");
});
});
在线演示链接:https://jsbin.com/dubegef/edit?html,js,console,output
注意text()和val()