質問編集履歴

2

ブラウザ上htmlを追記しました。

2020/04/06 12:36

投稿

shinsaku
shinsaku

スコア4

test CHANGED
File without changes
test CHANGED
@@ -76,6 +76,80 @@
76
76
 
77
77
 
78
78
 
79
+ ブラウザ上html
80
+
81
+
82
+
83
+ <div id="mw_wp_form_mw-wp-form-150" class="mw_wp_form mw_wp_form_input ">
84
+
85
+ <form method="post" action="" enctype="multipart/form-data">
86
+
87
+ <table class="container">
88
+
89
+ <tbody>
90
+
91
+ <tr class="calendar-area">
92
+
93
+ <th><label for="datepicker1" class="is-required">希望入居日<span class="color03">※</span></label></th>
94
+
95
+ <td class="datepicker-area">
96
+
97
+ <div class="start"><input type="text" name="start" id="start" class="start" size="30" value="" />
98
+
99
+ <script type="text/javascript">
100
+
101
+ jQuery(function($) {
102
+
103
+ $("input[name='start']").datepicker({
104
+
105
+ "yearSuffix":"\u5e74","dateFormat":"yy\u5e74mm\u6708dd\u65e5","dayNames":["\u65e5\u66dc\u65e5","\u6708\u66dc\u65e5","\u706b\u66dc\u65e5","\u6c34\u66dc\u65e5","\u6728\u66dc\u65e5","\u91d1\u66dc\u65e5","\u571f\u66dc\u65e5"],"dayNamesMin":["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],"dayNamesShort":["\u65e5\u66dc","\u6708\u66dc","\u706b\u66dc","\u6c34\u66dc","\u6728\u66dc","\u91d1\u66dc","\u571f\u66dc"],"monthNames":["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],"monthNamesShort":["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],"showMonthAfterYear":"true","changeYear":"true","changeMonth":"true" });
106
+
107
+ });
108
+
109
+ </script>
110
+
111
+ </div>
112
+
113
+ </td>
114
+
115
+ </tr>
116
+
117
+ <tr class="calendar-area">
118
+
119
+ <th><label for="datepicker1" class="is-required">希望退去日<span class="color03">※</span></label></th>
120
+
121
+ <td class="datepicker-area">
122
+
123
+ <div class="end"><input type="text" name="end" id="end" class="end" size="30" value="" />
124
+
125
+ <script type="text/javascript">
126
+
127
+ jQuery(function($) {
128
+
129
+ $("input[name='end']").datepicker({
130
+
131
+ "yearSuffix":"\u5e74","dateFormat":"yy\u5e74mm\u6708dd\u65e5","dayNames":["\u65e5\u66dc\u65e5","\u6708\u66dc\u65e5","\u706b\u66dc\u65e5","\u6c34\u66dc\u65e5","\u6728\u66dc\u65e5","\u91d1\u66dc\u65e5","\u571f\u66dc\u65e5"],"dayNamesMin":["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],"dayNamesShort":["\u65e5\u66dc","\u6708\u66dc","\u706b\u66dc","\u6c34\u66dc","\u6728\u66dc","\u91d1\u66dc","\u571f\u66dc"],"monthNames":["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],"monthNamesShort":["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],"showMonthAfterYear":"true","changeYear":"true","changeMonth":"true" });
132
+
133
+ });
134
+
135
+ </script>
136
+
137
+ </div>
138
+
139
+ </td>
140
+
141
+ </tr>
142
+
143
+ </tbody>
144
+
145
+ </table>
146
+
147
+ </form>
148
+
149
+ <!-- end .mw_wp_form --></div>
150
+
151
+
152
+
79
153
 
80
154
 
81
155
  <script type="text/javascript" src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>

1

htmlコードを追記しました。

2020/04/06 12:36

投稿

shinsaku
shinsaku

スコア4

test CHANGED
File without changes
test CHANGED
@@ -7,6 +7,12 @@
7
7
  「希望入居日」と「希望退去日」の日付を入力してもらうフォームを作成しています。
8
8
 
9
9
  「希望退去日」の選択可能最小日を「希望入居日」の選択から30日後からしか選択できない様にしたいのですがうまくいきません。
10
+
11
+
12
+
13
+ 追記:
14
+
15
+ Wordpressのプラグイン「MW WP Form 」を使っています。
10
16
 
11
17
 
12
18
 
@@ -31,6 +37,46 @@
31
37
 
32
38
 
33
39
  ```ここに言語名を入力
40
+
41
+ html
42
+
43
+ <table class="container">
44
+
45
+ <tbody>
46
+
47
+ <tr class="calendar-area">
48
+
49
+ <th><label for="datepicker1" class="is-required">希望入居日<span class="color03">※</span></label></th>
50
+
51
+ <td class="datepicker-area">
52
+
53
+ <div class="start">[mwform_datepicker name="start" id="start" class="start" size="30"]</div>
54
+
55
+ </td>
56
+
57
+ </tr>
58
+
59
+ <tr class="calendar-area">
60
+
61
+ <th><label for="datepicker1" class="is-required">希望退去日<span class="color03">※</span></label></th>
62
+
63
+ <td class="datepicker-area">
64
+
65
+ <div class="end">[mwform_datepicker name="end" id="end" class="end" size="30"]</div>
66
+
67
+ </td>
68
+
69
+ </tr>
70
+
71
+ </tbody>
72
+
73
+ </table>
74
+
75
+
76
+
77
+
78
+
79
+
34
80
 
35
81
  <script type="text/javascript" src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
36
82