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

質問編集履歴

2

コード修正

2015/11/30 03:22

投稿

sekayama
sekayama

スコア25

title CHANGED
File without changes
body CHANGED
@@ -19,6 +19,6 @@
19
19
  ...
20
20
  ...
21
21
  ...
22
- $("#form_id").submit
22
+ $("#form_id").submit()
23
23
 
24
24
  ---

1

コード修正

2015/11/30 03:22

投稿

sekayama
sekayama

スコア25

title CHANGED
File without changes
body CHANGED
@@ -7,7 +7,7 @@
7
7
  ---
8
8
  ○page.html.erb
9
9
 
10
- form_for(..., html: {..., ..., target: '_blank'}, url: ..._path) do
10
+ form_for(..., html: {id: 'form_id', ..., ..., target: '_blank'}, url: ..._path) do
11
11
  ...
12
12
  end
13
13
 
@@ -19,6 +19,6 @@
19
19
  ...
20
20
  ...
21
21
  ...
22
- $("#...").subject
22
+ $("#form_id").submit
23
23
 
24
24
  ---