-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathts.html
More file actions
41 lines (38 loc) · 820 Bytes
/
ts.html
File metadata and controls
41 lines (38 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<button>fdfdfdsfd</button>
</body>
</html>
<script src="js/jquery.min.js"></script>
<script>
try{
console.log(1);
}catch (err){
console.log(err);
console.log(10);
if(err){
console.log(err);
}
}
$("button").click(function(){
console.log(2);
})
$("button").attr("disabled","disabled");
setTimeout(function(){
$("button").removeAttr("disabled");
},5000)
function fn(a,b,c){
if(a == 1||a == 2||a == 3){
console.log("this is a ")
}
if(b == 1&&b ==2 &&b ==3){
console.log("this is b");
}
}
fn(2,3);
</script>