質問編集履歴
3
17::08 解決
test
CHANGED
File without changes
|
test
CHANGED
@@ -83,3 +83,87 @@
|
|
83
83
|
</body>
|
84
84
|
|
85
85
|
</html>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
====================================
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
【皆さんに教えてもらい解決したコード↓↓】
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
<!DOCTYPE html>
|
114
|
+
|
115
|
+
<html lang="ja">
|
116
|
+
|
117
|
+
<head>
|
118
|
+
|
119
|
+
<meta charset="UTF-8">
|
120
|
+
|
121
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
122
|
+
|
123
|
+
<title>testpage</title>
|
124
|
+
|
125
|
+
</head>
|
126
|
+
|
127
|
+
<body>
|
128
|
+
|
129
|
+
<style>
|
130
|
+
|
131
|
+
.free7{display: none;}
|
132
|
+
|
133
|
+
</style>
|
134
|
+
|
135
|
+
<script>
|
136
|
+
|
137
|
+
$(function(){
|
138
|
+
|
139
|
+
$("div:contains('OPENPRICE')").prev('.AE_txt_head')
|
140
|
+
|
141
|
+
.each(function(){
|
142
|
+
|
143
|
+
var txt= $(this).html();
|
144
|
+
|
145
|
+
$(this).html(txt.replace('販売価格:','オープンプライス:'));
|
146
|
+
|
147
|
+
});
|
148
|
+
|
149
|
+
});
|
150
|
+
|
151
|
+
</script>
|
152
|
+
|
153
|
+
<!-- 商品1 -->
|
154
|
+
|
155
|
+
<div class="AE_txt_head">参考販売価格:1,000円</div>
|
156
|
+
|
157
|
+
<!-- 商品2 -->
|
158
|
+
|
159
|
+
<div class="AE_txt_head">参考販売価格:1,000円</div>
|
160
|
+
|
161
|
+
<div class="free7">OPENPRICE</div>
|
162
|
+
|
163
|
+
<!-- 商品3 -->
|
164
|
+
|
165
|
+
<div class="AE_txt_head">参考販売価格:1,000円</div>
|
166
|
+
|
167
|
+
</body>
|
168
|
+
|
169
|
+
</html>
|
2
13:07 現在の状況
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,72 +24,62 @@
|
|
24
24
|
|
25
25
|
|
26
26
|
|
27
|
-
===============================
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
27
|
<!DOCTYPE html>
|
36
28
|
|
37
29
|
<html lang="ja">
|
38
30
|
|
39
|
-
<head>
|
31
|
+
<head>
|
40
32
|
|
41
|
-
<meta charset="UTF-8">
|
33
|
+
<meta charset="UTF-8">
|
42
34
|
|
43
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
35
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
44
36
|
|
45
|
-
<title>testpage</title>
|
37
|
+
<title>testpage</title>
|
46
38
|
|
47
|
-
</head>
|
39
|
+
</head>
|
48
40
|
|
49
|
-
<body>
|
41
|
+
<body>
|
42
|
+
|
43
|
+
<style>
|
44
|
+
|
45
|
+
.free7{display: none;}
|
46
|
+
|
47
|
+
</style>
|
48
|
+
|
49
|
+
<script>
|
50
|
+
|
51
|
+
$(function(){
|
52
|
+
|
53
|
+
$(".div:contains('OPENPRICE') .AE_txt_head")
|
54
|
+
|
55
|
+
.each(function(){
|
56
|
+
|
57
|
+
var txt= $(this).html();
|
58
|
+
|
59
|
+
$(this).html(txt.replace('販売価格:','オープンプライス:'));
|
60
|
+
|
61
|
+
});
|
62
|
+
|
63
|
+
});
|
64
|
+
|
65
|
+
</script>
|
50
66
|
|
51
67
|
|
52
68
|
|
53
|
-
<
|
69
|
+
<!-- 商品1 -->
|
54
70
|
|
55
|
-
|
71
|
+
<div class="AE_txt_head">販売価格:1,000円</div>
|
56
72
|
|
57
|
-
<
|
73
|
+
<!-- 商品2 -->
|
58
74
|
|
75
|
+
<div class="AE_txt_head">販売価格:1,000円</div>
|
59
76
|
|
77
|
+
<div class="free7">OPENPRICE</div>
|
60
78
|
|
61
|
-
<
|
79
|
+
<!-- 商品3 -->
|
62
80
|
|
63
|
-
|
81
|
+
<div class="AE_txt_head">販売価格:1,000円</div>
|
64
82
|
|
65
|
-
$("div:contains('OPENPRICE') .AE_txt_head")
|
66
|
-
|
67
|
-
.each(function(){
|
68
|
-
|
69
|
-
var txt= $(this).html();
|
70
|
-
|
71
|
-
$(this).html(txt.replace('販売価格:','オープンプライス:'));
|
72
|
-
|
73
|
-
});
|
74
|
-
|
75
|
-
});
|
76
|
-
|
77
|
-
</script>
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<div class="AE_txt_head">販売価格:</div>
|
82
|
-
|
83
|
-
<div class="free7">OPENPRICE</div>
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
</body>
|
83
|
+
</body>
|
88
84
|
|
89
85
|
</html>
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
===============================
|
1
12:56 現在の状況です。
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
|
17
|
+
|
18
18
|
|
19
19
|
|
20
20
|
|
@@ -22,28 +22,74 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
<script>
|
26
25
|
|
27
|
-
|
28
26
|
|
29
|
-
$(function(){
|
30
|
-
|
31
|
-
|
27
|
+
===============================
|
32
28
|
|
33
29
|
|
34
30
|
|
35
|
-
$('.AE_txt_head').each(function(){
|
36
|
-
|
37
|
-
var txt= $(this).html();
|
38
|
-
|
39
|
-
$(this).html(txt.replace('販売価格:','オープンプライス:'));
|
40
|
-
|
41
|
-
});
|
42
|
-
|
43
|
-
}
|
44
|
-
|
45
|
-
});
|
46
31
|
|
47
32
|
|
48
33
|
|
34
|
+
|
35
|
+
<!DOCTYPE html>
|
36
|
+
|
37
|
+
<html lang="ja">
|
38
|
+
|
39
|
+
<head>
|
40
|
+
|
41
|
+
<meta charset="UTF-8">
|
42
|
+
|
43
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
44
|
+
|
45
|
+
<title>testpage</title>
|
46
|
+
|
47
|
+
</head>
|
48
|
+
|
49
|
+
<body>
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
<style>
|
54
|
+
|
55
|
+
.free7{display: none;}
|
56
|
+
|
57
|
+
</style>
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<script>
|
62
|
+
|
63
|
+
$(function(){
|
64
|
+
|
65
|
+
$("div:contains('OPENPRICE') .AE_txt_head")
|
66
|
+
|
67
|
+
.each(function(){
|
68
|
+
|
69
|
+
var txt= $(this).html();
|
70
|
+
|
71
|
+
$(this).html(txt.replace('販売価格:','オープンプライス:'));
|
72
|
+
|
73
|
+
});
|
74
|
+
|
75
|
+
});
|
76
|
+
|
49
|
-
|
77
|
+
</script>
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div class="AE_txt_head">販売価格:</div>
|
82
|
+
|
83
|
+
<div class="free7">OPENPRICE</div>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
</body>
|
88
|
+
|
89
|
+
</html>
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
===============================
|