$(".popular").hide(); $(document).on("click", ".likeSee__state__filter--item", function (event) { $(".News").toggle(); $(".popular").toggle(); $(".likeSee__state__filter--item").removeClass('active'); $(this).addClass("active"); }); function get_data() { $.ajax({ method: "GET", // url: `json/cases-${id}.json`, // url: `json/cases-${id}.json`, 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=""; breadcrumbTitle=`${msg[0].Columnstitle}` article_info=`
'
for(k=0; k