摘要:
<!DOCTYPE html><html lang="en" xmlns:th="http://www.w3.org/1999/xhtml"><head> <meta charset="UTF-8"/> <script src="../static/js/jquery-1.9.1.min.js">< 阅读全文
摘要:
1、var formser = new FormData($('#searchForm')[0]);//获取表单的参数 formser.append("test",test)//可增加请求的参数 2、 var formser=$('#dataForm').serialize(); 注意:serial 阅读全文
摘要:
1:先查询外层-周 阅读全文
摘要:
//日历查询 Map finalmap = new HashMap(); Date date = new Date(); Calendar calendar = Calendar.getInstance(); calendar.setTime(date); //获取年 finalmap.put("y 阅读全文
摘要:
insert into 表名 <trim prefix="(" suffix=")" suffixOverrides=","> <if test="createTime != null"> CREATE_TIME, </if> </trim> <trim prefix="values (" suff 阅读全文
摘要:
js中对中文进行编码:(不对ASCII 字母和数字进行编码) window.document.location.href = "${ctxPath}/pc/selectDTByXinFang/html?subWayName="+encodeURI(encodeURI(subWayName))+"&d 阅读全文
摘要:
SELECT ROW_NUMBER() over ( order by 字段) from 表 阅读全文
摘要:
$(".properCharater").each(function () { var j = 0; var properCharater = $(this).next("input").val(); if (properCharater != null) { var properSplit = p 阅读全文
摘要:
$(function () { $("body").keydown(function (event) { if (event.keyCode == 8) { alert(1); } });});另附上键码以及示例:http://www.cnblogs.com/daysme/p/6272570.htm 阅读全文
摘要:
$(window).scroll(function(){ var scrollTop = $(this).scrollTop(); //滚动条距离顶部的高度 var scrollHeight = $(document).height(); //当前页面的总高度 var clientHeight = 阅读全文