<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script>
function a(){
document.getElementById("a").innerHTML=111111;
}
</script>
</head>
<body>
<div id="a" onclick="a()">点我替换</div>
</body>
</html>
原文地址:https://www.cnblogs.com/junyi-bk/p/11376350.html
时间: 2024-11-07 21:56:57