質問編集履歴

2

誤記修正

2017/07/17 03:58

投稿

situmon_sya
situmon_sya

スコア14

test CHANGED
File without changes
test CHANGED
@@ -76,4 +76,4 @@
76
76
 
77
77
  ```
78
78
 
79
- product_name、もしくは_product_idのnameを持つinputを探して、submitを押したいです。
79
+ product_name、もしくは特定の_product_idのvalueを持つinputを探して、submitを押したいです。

1

ソース追加

2017/07/17 03:57

投稿

situmon_sya
situmon_sya

スコア14

test CHANGED
File without changes
test CHANGED
@@ -31,3 +31,49 @@
31
31
 
32
32
 
33
33
  jqueryのセレクタみたいな事が事が出来れば簡単だとは思うのですが・・・
34
+
35
+
36
+
37
+ ソースを追加しました。(よそ様のソースなので、一応修正してます。)
38
+
39
+ ```html
40
+
41
+ <table>
42
+
43
+ <tr>
44
+
45
+ <th nowrap>NO</th>
46
+
47
+ <th nowrap>製品</th>
48
+
49
+ <th nowrap></th>
50
+
51
+ </tr>
52
+
53
+ <tr>
54
+
55
+
56
+
57
+ <tr>
58
+
59
+ <td>2</td>
60
+
61
+ <td nowrap><a target="_blank" href="./detail.html">product_name</a></td>
62
+
63
+ <form method="POST" action="./disp.cgi">
64
+
65
+ <input type="hidden" name="_product_id" value="3.8">
66
+
67
+ <td nowrap>
68
+
69
+ <input type="submit" name="_next" value="OK">
70
+
71
+ </td>
72
+
73
+ </form>
74
+
75
+ </tr>
76
+
77
+ ```
78
+
79
+ product_name、もしくは_product_idのnameを持つinputを探して、submitを押したいです。