闲者博客 - 加载 https://bk1314.com/tag/%E5%8A%A0%E8%BD%BD/ zh-CN Sat, 26 Feb 2022 17:40:48 +0800 Sat, 26 Feb 2022 17:40:48 +0800 一段JS读取内容 这样前台静态加载到页面 https://bk1314.com/47.html https://bk1314.com/47.html Sat, 26 Feb 2022 17:40:48 +0800 飞鱼 function setPublicKey() { $.getJSON('zzs.json', function(packJson){ var strjson = ""; for(var p in packJson){ strjson+= packJson[p].key+"<br>"; } var mazey=document.getElementById("jg"); mazey.innerHTML="这里是返回内容:<br><br>"+strjson; }); } ]]> 0 https://bk1314.com/47.html#comments https://bk1314.com/feed/tag/%E5%8A%A0%E8%BD%BD/