From 4f47d0af9617511e475879eff74e7788a429d9fd Mon Sep 17 00:00:00 2001
From: whycq <whycq>
Date: 星期五, 27 五月 2022 14:55:19 +0800
Subject: [PATCH] # ycq
---
src/main/webapp/views/test.html | 27 ++++++++++++++++++++++++++-
1 files changed, 26 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/views/test.html b/src/main/webapp/views/test.html
index d65a6e7..fcb6b41 100644
--- a/src/main/webapp/views/test.html
+++ b/src/main/webapp/views/test.html
@@ -3,13 +3,18 @@
<head>
<meta charset="UTF-8">
<title>Title</title>
+ <script src="../static/js/jquery/jquery-3.3.1.min.js"></script>
</head>
<body>
+ <div id="ycq"></div>
<button onclick="closeBtn()">鍏抽棴</button>
<button onclick="openBtn()">寮�濮�</button>
+ <button id="1" onclick="alt(1)">寮�濮�</button>
</body>
<script>
- var i = 1
+ // var abc = 1
+ var i ;
+ i="10"
var a = true
setInterval(()=>{
addI();
@@ -21,6 +26,26 @@
return;
}
}
+ $("#ycq").html(i)
+
+ function alt(e) {
+ alert(e)
+ }
+
+
+ var arr=[]; //鎵归噺瀹氫箟
+ for(var i=0;i<5;i++){
+ var index=i; //鍔ㄦ�佸畾涔夊彉閲忓悕
+ arr[index]='value-'+i; //鍔ㄦ�佽祴鍊�
+ }
+ console.log(arr);
+
+
+
+
+
+
+
function closeBtn() {
--
Gitblit v1.9.1