質問するログイン新規登録

質問編集履歴

5

修正

2017/02/20 03:13

投稿

hiro0208
hiro0208

スコア75

title CHANGED
File without changes
body CHANGED
@@ -64,7 +64,7 @@
64
64
 
65
65
  <script type="text/javascript">
66
66
  function show() {
67
- <!--alert('A');-->
67
+ //alert('A');
68
68
  document.getElementById("disp").style.display="block";
69
69
  }
70
70
  </script>

4

修正

2017/02/20 03:13

投稿

hiro0208
hiro0208

スコア75

title CHANGED
File without changes
body CHANGED
@@ -64,7 +64,7 @@
64
64
 
65
65
  <script type="text/javascript">
66
66
  function show() {
67
- alert('A');
67
+ <!--alert('A');-->
68
68
  document.getElementById("disp").style.display="block";
69
69
  }
70
70
  </script>

3

修正

2017/02/20 03:12

投稿

hiro0208
hiro0208

スコア75

title CHANGED
File without changes
body CHANGED
@@ -61,10 +61,11 @@
61
61
  display: none;
62
62
  }
63
63
  </style>
64
+
64
65
  <script type="text/javascript">
65
66
  function show() {
67
+ alert('A');
66
68
  document.getElementById("disp").style.display="block";
67
- alert();
68
69
  }
69
70
  </script>
70
71
  </html>

2

修正

2017/02/20 03:11

投稿

hiro0208
hiro0208

スコア75

title CHANGED
File without changes
body CHANGED
@@ -26,12 +26,12 @@
26
26
  $optionYear = "";
27
27
  for ($i=($thisYear-10); $i<=($thisYear+10); $i++) {
28
28
  $selected = ($i == $year)?" selected":"";//真:selected 偽:""空 //三項演算子
29
- $optionYear .= '<option value="' . $i . '"$selected>' . $i . '</option>' . "\n";
29
+ $optionYear .= '<option value="' . $i . '"' . $selected . '>' . $i . '</option>' . "\n";
30
30
  }
31
31
  $optionMonth="";
32
32
  for($i=1;$i<=12; $i++) {
33
33
  $selected=($i==$month)?" selected":"";
34
- $optionMonth .= '<option value="' . $i . '"$selected>' . $i . '</option>' . "\n";
34
+ $optionMonth .= '<option value="' . $i . '"' . $selected . '>' . $i . '</option>' . "\n";
35
35
  }
36
36
  $weekday = array ('日' ,'月' ,'火' ,'水' ,'木' ,'金' ,'土' );
37
37
 

1

追加修正

2017/02/20 02:20

投稿

hiro0208
hiro0208

スコア75

title CHANGED
File without changes
body CHANGED
@@ -61,6 +61,12 @@
61
61
  display: none;
62
62
  }
63
63
  </style>
64
+ <script type="text/javascript">
65
+ function show() {
66
+ document.getElementById("disp").style.display="block";
67
+ alert();
68
+ }
69
+ </script>
64
70
  </html>
65
71
  コード
66
72
  ```