<!DOCTYPE html>
<html>
<body>
<h1>My First Web Page</h1>
<input id="KK" value="444">
<button οnclick="myFunction()">点击这里</button>
<script>
function myFunction()
{
document.getElementById("KK").value="123";
}
</script>
</body>
</html>