摘要: 1、使用window.location.replace,而非window.location.href,浏览器将不会记录当前浏览历史;2、关于渐进增强:1)使用noscript标签;2)document.write("");3、点击checkbox文件将选中勾选框:文字 ;4、利用ajax来post信息,后台取不到数据,原因为没有设置Content-Type,后端程式无法将数据解析成key-value格式: xhr.open("POST",url,true); xhr.setRequestHeader("Content-Type", & 阅读全文
posted @ 2014-02-10 21:25 chenyizh 阅读(143) 评论(0) 推荐(0) 编辑