makangning
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <script type="text/javascript">
        // var i = confirm("555");
        // if (i == true) {
        //     alert("删除成功");
        // }else{
        //     alert("取消删除");
        // }
        function test(){
            alert("您点击了按钮");
        }
    </script>
</head>
<body>
    <input type="button" onclick="test()" value="点击">
</body>
</html>

 

分类:

技术点:

相关文章:

  • 2022-01-26
  • 2021-11-17
  • 2021-08-02
  • 2022-12-23
  • 2021-09-08
  • 2021-12-24
  • 2022-01-02
  • 2021-10-15
猜你喜欢
  • 2022-02-04
  • 2022-03-05
  • 2021-11-30
  • 2021-11-22
相关资源
相似解决方案