Код: Выделить всё
var jsonData = $.ajax({
url: "pie_chart_community.php",
community_id: $c_id,
dataType: "json",
async: false
}).responseText;
Подробнее здесь: https://stackoverflow.com/questions/439 ... n-variable
Код: Выделить всё
var jsonData = $.ajax({
url: "pie_chart_community.php",
community_id: $c_id,
dataType: "json",
async: false
}).responseText;