function my_collect_list() { $.get( "../article/collect_list.php", { userid: getCookie("userid"), setting: "", }, function (data, status) { if (status == "success") { try { let html = ""; let result = JSON.parse(data); let key = 1; for (const iterator of result) { html += '
"; } $("#article_list").html(html); } catch (e) { console.error(e); } } else { console.error("ajex error"); } } ); }