jQuery.ajax({
url: "/index.php/userprofile/ajax_comments/" + only_id + '/',
//dataType: 'json',
cache: false,
success: function(json){
$('#ajax' ).append(json);
}
{"id":"1271"}
Файлы в utf8. Не понимаю в чём ошибка? "json": Evaluates the response as JSON and returns a JavaScript object. Cross-domain "json" requests are converted to "jsonp" unless the request includes jsonp: false in its request options.