$.ajax({
dataType: "json",
type: "POST",
url: "<?php echo Router::url(array('controller' => 'useroccupations', 'action' => 'savedJobDelete')); ?>'",
data: ({type:'original'}),
success: function (data){
$('#menu1').tab('show');
}
});
这是我的ajax并且它无法正常工作。我可以从中获得最好的建议吗?
答案 0 :(得分:0)
$.ajax({
dataType: "json",
type: "POST",
url: "<?php echo Router::url(array('controller' => 'useroccupations', 'action' => 'savedJobDelete')); ?>",
data: ({type:'original'}),
success: function (data){
$('#menu1').tab('show');
}
});
我所做的是删除网址savedJobDelete')); ?>'",