简单,根本就不用刷新,你给下面的<img>标签设置个id,比如<img id=“im” src="images/FreeChart.action?type="/>
这时候你点击按钮触发一个事件,用document.getElementById("im").src = "images/FreeChart.action?type=keysCount";另外一个按钮触发document.getElementById("im").src = "images/FreeChart.action?type=usedMemory";
这时候你点击按钮触发一个事件,用document.getElementById("im").src = "images/FreeChart.action?type=keysCount";另外一个按钮触发document.getElementById("im").src = "images/FreeChart.action?type=usedMemory";
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货