// $(".popular").hide(); $(document).on("click", ".likeSee__state__filter--item", function (event) { // $(".News").toggle(); // $(".popular").toggle(); $(".likeSee__state__filter--item").removeClass('active'); $(this).addClass("active"); }); const urlParams = new URLSearchParams(window.location.search); let id = urlParams.get('cid'); console.log(id); function get_data() { $.ajax({ method: "GET", // url: `json/Columns-${id}.json`, url: `https://m3.hhh.com.tw:18686/gencolumn?id=${id}&sort=new&page=1`, // url:`json/Columns.json`, dataType: "json", }) .done(function (msg) { console.log(msg); let ColumnsContent = ""; let ColumnsTag = ""; let breadcrumbTitle = ""; let article_info = ""; let OtherColumns = ""; let PopularColumns = ""; let author_inf=""; breadcrumbTitle = `${msg[0].Columnstitle}` article_info = `
'
// for(k=0; k