回答編集履歴
2
修正
answer
CHANGED
@@ -44,6 +44,7 @@
|
|
44
44
|
if($("#visible").val() === 'false'){
|
45
45
|
$("#more_list").hide();
|
46
46
|
}
|
47
|
+
$("#visible").remove();
|
47
48
|
|
48
49
|
}).fail(function(data) {
|
49
50
|
console.log("error!");
|
1
修正
answer
CHANGED
@@ -38,8 +38,6 @@
|
|
38
38
|
$.ajax({
|
39
39
|
type: "post",
|
40
40
|
url: "http://localhost/cakephp3/Sample/sample",
|
41
|
-
// url: "<?php echo $this->Html->url('/Sample/sample/', true); ?>",
|
42
|
-
// url: "<?php echo $this->html->url(array('controller' => 'Sample', 'action' => 'sample')); ?>",
|
43
41
|
dataType: "text",
|
44
42
|
}).done(function(data) {
|
45
43
|
$("#hoge").append(data);
|