覆盖

<!DOCTYPE html>
<html>
<head>
    <title>覆盖</title>
</head>
<body>
<p>2017</p>
<button onclick="fu()">覆盖</button>
<script>
    function fu() {
        document.write("2018");
    }
</script>
</body>
</html>

 

posted on 2018-10-28 18:24  渐心微凉  阅读(74)  评论(0编辑  收藏  举报

导航