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

回答編集履歴

1

selectedをcheckedに修正

2015/10/05 08:28

投稿

NIA
NIA

スコア181

answer CHANGED
@@ -89,7 +89,7 @@
89
89
  id:<input type="text" id="sample_id" />
90
90
  text:<input type="text" id="sample_text" />
91
91
  type:
92
- <label for="radio_u"><input type="radio" id="radio_u" name="types" selected/>update</label>
92
+ <label for="radio_u"><input type="radio" id="radio_u" name="types" checked />update</label>
93
93
  <label for="radio_d"><input type="radio" id="radio_d" name="types" />delete</label>
94
94
  <input type="button" id="up_btn" value="submit" />
95
95
  <br /><br />