pdoPage ajax get запрос
Привет. Отправляю ajax get запрос для получения результатов от pdoPage, но в json формате ответа вообще нет, консоль пустая.
$.get('/catalog?page=2', function(data) {
console.log(data);
},'json');
а если убрать параметр 'json' приходит страница с json строкой внутри...
<div id="pdopage">
<div class="rows">
{"output":"<div class=\"ms2_product_main\">\n\t<div class=\"product_img\"><a href=\"catalog\/ctenovyie-paneli\/akant-plus.html\">\n\t\t<img src=\"\/assets\/components\/phpthumbof\/cache\/dek0003w-1600.6422f562a78921800c1b470d2ee631e0.jpg\" alt=\"\u041f\u0430\u043d\u0435\u043b\u0438 \u0410\u043a\u0430\u043d\u0442 +\"\/><\/a>\n\t<\/div>\n\t<div class=\"product_info\">\n\t\t<form method=\"post\" class=\"ms2_form\">\n\t\t\t<div>\n\t\t\t\t<div class=\"prod-title\">\u0410\u043a\u0430\u043d\u0442 +<\/div>\n\t\t\t\t<span class=\"price\"><span class=\"old-price\"><span class=\"old_price\">750 \u0440\u0443\u0431.<\/span><\/span>720 \u0440\u0443\u0431.<\/span>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t<div class=\"prod__size\">\n\t\t\t\t<div>\u0420\u0430\u0437\u043c\u0435\u0440:<\/div>\n\t\t\t\t<!-- <div>1200x600\n222x444\n333x999<\/div> -->\n\t\t\t\t<select name=\"options[size]\" class=\"form-control\"><option value=\"1200x600\" >1200x600<\/option>\n<option value=\"222x444\" >222x444<\/option>\n<option value=\"333x999\" >333x999<\/option><\/select>\t\t\t<\/div>\n\t\t\t<div class=\"prod__color\">\n\t\t\t\t<div>\u0426\u0432\u0435\u0442:<\/div>\n\t\t\t\t<select name=\"options[color]\" class=\"form-control\"><option value=\"\u043a\u043e\u0440\u0438\u0447\u043d\u0435\u0432\u044b\u0439\" >\u043a\u043e\u0440\u0438\u0447\u043d\u0435\u0432\u044b\u0439<\/option>\n<option value=\"\u0431\u0435\u043b\u044b\u0439\" >\u0431\u0435\u043b\u044b\u0439<\/option>\n<option value=\"\u043c\u043e\u0440\u0438\u043b\u043a\u0430\" >\u043c\u043e\u0440\u0438\u043b\u043a\u0430<\/option><\/select>\t\t\t<\/div>\n\t\t\t<div class=\"prod__style\">\n\t\t\t\t<div>\u0421\u0442\u0438\u043b\u044c:<\/div>\n\t\t\t\t<div>\n\t\t\t\t\t<div class=\"styles\">\n\u0433\u043e\u0442\u0438\u043a\u0430, \u0431\u0430\u0440\u043e\u043a\u043a\u043e\n<\/div>\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t<span class=\"flags\"><i class=\"glyphicon glyphicon-flag\" title=\"\u041d\u043e\u0432\u0438\u043d\u043a\u0430\"><\/i> <\/span>\n\t\t\t<input type=\"hidden\" name=\"id\" value=\"8\">\n\t\t\t<input type=\"hidden\" name=\"count\" value=\"1\">\n\t\t\t<input type=\"hidden\" name=\"options\" value=\"[]\">\n\t\t\t<button class=\"btn btn-default\" type=\"submit\" name=\"ms2_action\" value=\"cart\/add\"><i class=\"glyphicon glyphicon-barcode\"><\/i> \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443<\/button>\n\t\t<\/form>\n\t<\/div>\n\t\t<div class=\"product-sale\">\u0421\u041a\u0418\u0414\u041a\u0410<\/div>\n\t<\/div>\n<div class=\"ms2_product_main\">\n\t<div class=\"product_img\"><a href=\"catalog\/dvernyie-paneli\/kvadro.html\">\n\t\t<img src=\"\" alt=\"\u041f\u0430\u043d\u0435\u043b\u0438 \u041a\u0432\u0430\u0434\u0440\u043e\"\/><\/a>\n\t<\/div>\n\t<div class=\"product_info\">\n\t\t<form method=\"post\" class=\"ms2_form\">\n\t\t\t<div>\n\t\t\t\t<div class=\"prod-title\">\u041a\u0432\u0430\u0434\u0440\u043e<\/div>\n\t\t\t\t<span class=\"price\"><span class=\"old-price\"><\/span>0 \u0440\u0443\u0431.<\/span>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t<div class=\"prod__size\">\n\t\t\t\t<div>\u0420\u0430\u0437\u043c\u0435\u0440:<\/div>\n\t\t\t\t<!-- <div><\/div> -->\n\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"prod__color\">\n\t\t\t\t<div>\u0426\u0432\u0435\u0442:<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"prod__style\">\n\t\t\t\t<div>\u0421\u0442\u0438\u043b\u044c:<\/div>\n\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t<span class=\"flags\"> <\/span>\n\t\t\t<input type=\"hidden\" name=\"id\" value=\"9\">\n\t\t\t<input type=\"hidden\" name=\"count\" value=\"1\">\n\t\t\t<input type=\"hidden\" name=\"options\" value=\"[]\">\n\t\t\t<button class=\"btn btn-default\" type=\"submit\" name=\"ms2_action\" value=\"cart\/add\"><i class=\"glyphicon glyphicon-barcode\"><\/i> \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443<\/button>\n\t\t<\/form>\n\t<\/div>\n\t<\/div>","page":2,"pagination":"<div class=\"pagination\"><ul class=\"pagination\"><li class=\"control\"><a href=\"catalog?page=1\">\u041f\u0435\u0440\u0432\u0430\u044f<\/a><\/li><li class=\"control\"><a href=\"catalog?page=1\">«<\/a><\/li><li><a href=\"catalog?page=1\">1<\/a><\/li><li class=\"active\"><a href=\"catalog?page=2\">2<\/a><\/li><li><a href=\"catalog?page=3\">3<\/a><\/li><li><a href=\"catalog?page=4\">4<\/a><\/li><li><a href=\"catalog?page=5\">5<\/a><\/li><li class=\"control\"><a href=\"catalog?page=3\">»<\/a><\/li><li class=\"control\"><a href=\"catalog?page=6\">\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f<\/a><\/li><\/ul><\/div>","pages":6,"total":11}
Подскажите, как получить нормальный json ответ?