随笔分类 -  JavaScript

摘要:1、添加js跳转方法function post(URL, PARAMS) { var temp = document.createElement("form"); temp.action = URL; temp.method = "post"; ... 阅读全文
posted @ 2015-09-06 16:19 大白2 阅读(768) 评论(0) 推荐(0)
摘要:方法一: response.setContentType("text/html; charset=UTF-8"); //转码 PrintWriter out = response.getWriter(); out.flush(); out.println(""); re... 阅读全文
posted @ 2015-09-06 16:15 大白2 阅读(563) 评论(0) 推荐(0)
摘要:原因:通过参数拼接的方式,导致会将中文转成UTF-8代码进行传输解决方法:更改为post传参原代码:function _search(){ var roleInformation = $('#TOrhChkErrExamineTable'); roleInformation.datagr... 阅读全文
posted @ 2015-09-06 16:05 大白2 阅读(443) 评论(0) 推荐(0)