質問編集履歴

1

ご指摘頂いたコードブロックの修正、urlの修正

2016/11/29 06:30

投稿

silver_mouse2
silver_mouse2

スコア10

test CHANGED
File without changes
test CHANGED
@@ -10,13 +10,13 @@
10
10
 
11
11
 
12
12
 
13
- <script type="text/javascript">
13
+ ```javascript
14
14
 
15
15
 
16
16
 
17
17
  $.ajax({
18
18
 
19
- url: 'http://aaa.com/', //目的のアドレス
19
+ url: 'http://example.com/', //目的のアドレス
20
20
 
21
21
  cache: false,
22
22
 
@@ -28,7 +28,7 @@
28
28
 
29
29
  voice_cont1.find('img').each(function () {
30
30
 
31
- $(img).attr('src', 'http://bbb.com/wp/wp-content/themes/theme1/images/');
31
+ $(img).attr('src', 'http://example_1.com/wp/wp-content/themes/theme1/images/');
32
32
 
33
33
  });
34
34
 
@@ -40,7 +40,7 @@
40
40
 
41
41
 
42
42
 
43
- </script>
43
+ ```
44
44
 
45
45
 
46
46
 
@@ -56,13 +56,13 @@
56
56
 
57
57
 
58
58
 
59
- <script type="text/javascript">
60
59
 
61
60
 
61
+ ```javascript
62
62
 
63
63
  $.ajax({
64
64
 
65
- url: 'http://aaa.com/', //目的のアドレス
65
+ url: 'http://example.com/', //目的のアドレス
66
66
 
67
67
  cache: false,
68
68
 
@@ -72,7 +72,7 @@
72
72
 
73
73
  var voice_cont1 = $(html).find('#voice');
74
74
 
75
- voice_cont1('img').attr('src').replace('images/' , 'http://bbb.com/wp/wp-content/themes/theme1/images/');
75
+ voice_cont1('img').attr('src').replace('images/' , 'http://example_1.com/wp/wp-content/themes/theme1/images/');
76
76
 
77
77
  $('#voice_1').append(voice_cont1);
78
78
 
@@ -80,9 +80,9 @@
80
80
 
81
81
  });
82
82
 
83
+ ```
83
84
 
84
85
 
85
- </script>
86
86
 
87
87
 
88
88