2016年1月30日
摘要: document.getElementById("top").innerHTML = newHTML; document.getElementById("contact").className = "highlight";document.getElementById("about").setAtt 阅读全文
posted @ 2016-01-30 10:27 jayruan 阅读(210) 评论(0) 推荐(0)
摘要: try{ localStorage.setItem(key,value); }catch(oException){ if(oException.name == 'QuotaExceededError'){ console.log('超出本地存储限额!'); //如果历史信息不重要了,可清空后再设置 阅读全文
posted @ 2016-01-30 06:17 jayruan 阅读(230) 评论(0) 推荐(0)