質問編集履歴
1
申し訳ございません、ソースコードに誤りがございました。そのままのソースコードを再度載せましたので、よろしくお願いいたします。
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,13 +44,13 @@
|
|
44
44
|
|
45
45
|
```
|
46
46
|
|
47
|
-
|
47
|
+
Uncaught TypeError: $(...).materialSelect is not a function
|
48
|
-
|
48
|
+
|
49
|
-
at HTMLDocument.<anonymous> (
|
49
|
+
at HTMLDocument.<anonymous> (test.html:80)
|
50
|
-
|
50
|
+
|
51
|
-
at l (
|
51
|
+
at l (jquery.min.js:2)
|
52
|
-
|
52
|
+
|
53
|
-
at c (
|
53
|
+
at c (jquery.min.js:2)
|
54
54
|
|
55
55
|
```
|
56
56
|
|
@@ -64,6 +64,34 @@
|
|
64
64
|
|
65
65
|
|
66
66
|
|
67
|
+
<!DOCTYPE html>
|
68
|
+
|
69
|
+
<html lang="ja">
|
70
|
+
|
71
|
+
<head>
|
72
|
+
|
73
|
+
<meta charset="UTF-8">
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
78
|
+
|
79
|
+
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet">
|
80
|
+
|
81
|
+
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.5.16/css/mdb.min.css" rel="stylesheet">
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
<title>マテリアルデザイン</title>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
</head>
|
90
|
+
|
91
|
+
<body>
|
92
|
+
|
93
|
+
|
94
|
+
|
67
95
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
68
96
|
|
69
97
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js"></script>
|
@@ -74,25 +102,139 @@
|
|
74
102
|
|
75
103
|
|
76
104
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
<
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
<!--Navbar-->
|
110
|
+
|
111
|
+
<nav class="navbar navbar-expand-lg navbar-dark primary-color">
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
<!-- Navbar brand -->
|
116
|
+
|
117
|
+
<a class="navbar-brand" href="#">MDB</a>
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
<!-- Collapse button -->
|
122
|
+
|
123
|
+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#basicExampleNav"
|
124
|
+
|
125
|
+
aria-controls="basicExampleNav" aria-expanded="false" aria-label="Toggle navigation">
|
126
|
+
|
127
|
+
<span class="navbar-toggler-icon"></span>
|
128
|
+
|
129
|
+
</button>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<!-- Collapsible content -->
|
134
|
+
|
135
|
+
<div class="collapse navbar-collapse" id="basicExampleNav">
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
<!-- Links -->
|
140
|
+
|
141
|
+
<ul class="navbar-nav mr-auto">
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
<li class="nav-item">
|
146
|
+
|
147
|
+
<a class="nav-link" href="#">マテリアル
|
148
|
+
|
149
|
+
<span class="sr-only">(current)</span>
|
150
|
+
|
151
|
+
</a>
|
152
|
+
|
153
|
+
</li>
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
<!-- Dropdown -->
|
158
|
+
|
159
|
+
<li class="nav-item dropdown">
|
160
|
+
|
161
|
+
<a class="nav-link dropdown-toggle" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true"
|
162
|
+
|
163
|
+
aria-expanded="false">設定</a>
|
164
|
+
|
165
|
+
<div class="dropdown-menu dropdown-primary" aria-labelledby="navbarDropdownMenuLink">
|
166
|
+
|
167
|
+
<a class="dropdown-item" href="@{ObserveGroups.index}">グループ</a>
|
168
|
+
|
169
|
+
</div>
|
170
|
+
|
171
|
+
</li>
|
172
|
+
|
173
|
+
</ul>
|
174
|
+
|
175
|
+
<!-- Links -->
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
<form class="form-inline">
|
180
|
+
|
181
|
+
<div class="md-form my-0">
|
182
|
+
|
183
|
+
<input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
|
184
|
+
|
185
|
+
</div>
|
186
|
+
|
187
|
+
</form>
|
188
|
+
|
189
|
+
</div>
|
190
|
+
|
191
|
+
<!-- Collapsible content -->
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
</nav>
|
196
|
+
|
197
|
+
<!--/.Navbar-->
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
<select class="mdb-select md-form">
|
204
|
+
|
205
|
+
<option value="" disabled selected>Choose your option</option>
|
206
|
+
|
207
|
+
<option value="1">Option 1</option>
|
208
|
+
|
209
|
+
<option value="2">Option 2</option>
|
210
|
+
|
211
|
+
<option value="3">Option 3</option>
|
212
|
+
|
213
|
+
</select>
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
</body>
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
<script type="text/javascript">
|
222
|
+
|
223
|
+
$(document).ready(function(){
|
224
|
+
|
225
|
+
$('.mdb-select').materialSelect();
|
226
|
+
|
227
|
+
});
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
</script>
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
</html>
|
96
238
|
|
97
239
|
|
98
240
|
|