-
Notifications
You must be signed in to change notification settings - Fork 0
/
index
79 lines (68 loc) · 1.86 KB
/
index
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Home</title>
<!--<link href="css/style.css" rel="stylesheet">-->
<style>
#table{
border-spacing: 60px;
}
td{
border-bottom: solid;
padding: 20px;
}
#pos{
width:100px;
}
</style>
</head>
<body>
<center>
<h2 id="result"></h2>
<table id="table">
<tr>
<td id="position_1">1</td>
<td style="color:red;" id="position_2">X</td>
<td id="position_3">3</td>
</tr>
<tr>
<td id="position_4">4</td>
<td id="position_5">5</td>
<td id="position_6">6</td>
</tr>
<tr>
<td id="position_7">7</td>
<td id="position_8">8</td>
<td id="position_9">9</td>
</tr>
</table>
<form method="POST">
<input id="pos" name="position" type="number" min="1" max="9" placeholder="Position" />
<input id="sub" name="submit" type="submit" />
<input id="reset" name="reset" type="submit" value="Reset" />
</form>
</center>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<!--<script src="js/script.js"></script>-->
</body>
</html>
<!--<script type="text/javascript">-->
<!--$( document ).ready(function() {-->
<!--$( "#sub" ).click(function(event) {-->
<!--event.preventDefault(); //prevents page from refreshing-->
<!--var inputEmail = $("#pos").val();-->
<!--$.ajax({-->
<!--type: "POST",-->
<!--url: "rawsockets.py",-->
<!--data: {-->
<!--pos:pos-->
<!--},-->
<!--cache: false,-->
<!--success: function(data){-->
<!--}-->
<!--}-->
<!--});-->
<!--});-->
<!--});-->
<!--</script>-->