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

回答編集履歴

1

誤字の訂正

2015/07/29 04:36

投稿

yuchigooon
yuchigooon

スコア22

answer CHANGED
@@ -9,11 +9,11 @@
9
9
  document.sampleForm.hoge.value=hoge;
10
10
  document.sampleForm.submit();
11
11
  }
12
- コード
12
+
13
13
  ```
14
14
  ```HTML
15
15
  <a href="javascript:submit();">リンク</a>
16
- <form name="sampleForm" action="外部URL(例:http://example.com/)" method="get">
16
+ <form name="sampleForm" action="外部URL(例:http://example.com/)" method="post">
17
17
  <input type="hidden" name="hoge" value="">
18
18
  </form>
19
19
  ```