-
Notifications
You must be signed in to change notification settings - Fork 242
Expand file tree
/
Copy pathindex.html
More file actions
106 lines (102 loc) · 3.67 KB
/
Copy pathindex.html
File metadata and controls
106 lines (102 loc) · 3.67 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>CSV NeuralNetwork Parser</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="./main.js"></script>
</head>
<body>
<div class="container">
<div class="table-responsive">
<h1 align="center">CSV FiletoHTMLTable using AJAX Jquery</h1>
<br />
<div align="center">
<input type="file" id="csv-upload" accept=".csv">
</div>
<div align="center">
<button type="button" name="load_data" id="load_data" class="btn btn-info">Load IRIS Data</button>
</div>
<br />
<div id="data_table">
</div>
<table class="table table-condensed">
<colgroup>
<col></col>
<col class="bg-info"></col>
<col></col>
<col></col>
<col></col>
</colgroup>
<thead>
<tr>
<th class="text-center">ID</th>
<th class="text-center bg-primary">First Name</th>
<th class="text-center">Last Name</th>
<th class="text-center">Fisrt Name</th>
<th class="text-center">Last Name</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Johnny</td>
<td>English</td>
<td>Bud</td>
<td>Spencer</td>
</tr>
<tr>
<td>1</td>
<td>Johnny</td>
<td>English</td>
<td>Bud</td>
<td>Spencer</td>
</tr>
<tr>
<td>1</td>
<td>Johnny</td>
<td>English</td>
<td>Bud</td>
<td>Spencer</td>
</tr>
<tr>
<td>1</td>
<td>Johnny</td>
<td>English</td>
<td>Bud</td>
<td>Spencer</td>
</tr>
<tr>
<td>1</td>
<td>Johnny</td>
<td>English</td>
<td>Bud</td>
<td>Spencer</td>
</tr>
<tr>
<td>1</td>
<td>Johnny</td>
<td>English</td>
<td>Bud</td>
<td>Spencer</td>
</tr>
<tr>
<td>1</td>
<td>Johnny</td>
<td>English</td>
<td>Bud</td>
<td>Spencer</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>