回答編集履歴
1
追記
answer
CHANGED
@@ -24,4 +24,36 @@
|
|
24
24
|
</script>
|
25
25
|
</body>
|
26
26
|
</html>
|
27
|
+
```
|
28
|
+
追記
|
29
|
+
---
|
30
|
+
```HTML
|
31
|
+
<!DOCTYPE html>
|
32
|
+
<html lang="ja">
|
33
|
+
<head>
|
34
|
+
<meta charset="utf-8">
|
35
|
+
<title>タイトル</title>
|
36
|
+
<link rel="stylesheet"
|
37
|
+
href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
|
38
|
+
</head>
|
39
|
+
<body>
|
40
|
+
<p>
|
41
|
+
<input type="text" class="Calendar">
|
42
|
+
</p>
|
43
|
+
<p>
|
44
|
+
<input type="text" class="TXT">
|
45
|
+
</p>
|
46
|
+
<script src="http://code.jquery.com/jquery-3.2.1.min.js"></script>
|
47
|
+
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
|
48
|
+
<script>
|
49
|
+
$(function () {
|
50
|
+
$(".Calendar").datepicker({
|
51
|
+
onSelect: function () {
|
52
|
+
$(this).parent().next().children().focus();
|
53
|
+
}
|
54
|
+
});
|
55
|
+
});
|
56
|
+
</script>
|
57
|
+
</body>
|
58
|
+
</html>
|
27
59
|
```
|