回答編集履歴
1
修正
answer
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
<html lang="ja">
|
5
5
|
<head>
|
6
6
|
<meta charset="UTF-8">
|
7
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
7
8
|
<title>タイトル</title>
|
8
9
|
<style type="text/css">
|
9
10
|
.file_select:hover {
|
@@ -21,7 +22,8 @@
|
|
21
22
|
<input type="text" class="form-control" readonly="">
|
22
23
|
</div>
|
23
24
|
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
|
24
|
-
<script
|
25
|
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
26
|
+
<script>
|
25
27
|
$(document).on('change', ':file', function () {
|
26
28
|
var input = $(this),
|
27
29
|
numFiles = input.get(0).files ? input.get(0).files.length : 1,
|