09 2011 档案
摘要:---------------------CSS引用:<html><head><style type="text/css">/*通过class加载,可以用到所有标签*/.big{line-height: 90px} /*通过class加载,只能用到<p>标签*/ p.big1{line-height: 190px}.tablecss { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; border:1px solid #A0A0A0}/*
阅读全文
摘要:JSTL与EL表达式(为空判断)一、循环遍历集合1、在jsp中引入标准函数声明<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 2、若要判断集合的大小,则需要引入如下声明<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>3、如何使用jstl判断集合是否为空${user}为集合,user为集合名<c:if test=&qu
阅读全文
摘要:<script language="javascript" src="jquery-1.6.2.min.js"></script><body><form><table> <thead> <tr> <td width="100px" align="center"></td> <td width="100px" align="center">列1</td&
阅读全文
摘要:var ("input[isItem='true']"); var checkNum=0; $checkArray.each(function(index){ var checkArray.eq(index); if($item.attr("checked")==true){ var itr=""; checkNum+=1; var item.parent().parent(); var itr....
阅读全文
摘要://修改按钮事件function update(obj){ closeButton('unrefresh'); backDiv.style.display="block"; myinfo.style.display="block"; ("#e_id").val(tr.childNodes[1].innerHTML); $("#e_na
阅读全文
摘要:要求{l.inputDate}".substring(0, 10));</script></td><%@ page language="java" contentType="text/html; charset=gb18030"%><%@ taglib uri="http://java.sun.com/
阅读全文
摘要:.serializeArray() 序列化表格元素 (类似 '.serialize()' 方法) 返回 JSON 数据结构数据。(摘自jquery文档)。有以下一个表单窗口,代码:<form action="" method="post" id="tf"> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <th
阅读全文
摘要://查询友好账户 function getFriends(){ var cardNo=("#pzzfw").val(); //转账范围 var payeeType=("#pskfszd").val(); //收款方所在地 $.ajax({ type: "POST", url: "${pageContext.request.co
阅读全文
摘要:<table> <thead> <tr> <td style="width: 40px;"> <input type="checkbox" id="checkedall" onclick="checkeAll()" /> </td> <td style=""> 账户名称 </td> <td style=""> 账户号 </td> <td style=&
阅读全文
摘要:<form id="input_iForm" action="${pageContext.request.contextPath}/transfer/input_salary.shtml"> <input type="text" class="input_w150" vili="true" onkeyup="formatBankNo(this)"/> <input type="text" class="input_w
阅读全文
摘要:通过地址连接get传值到后台 new String(json.getString(0).getBytes("ISO-8859-1"), "UTF-8")通过json组装对象ajax传到后台 new String(json.getString(0).getBytes("ISO-8859-1"), "GBK")==========================json组装list传到前台action: //查询用途 public String searchUse(){ Enterprise en=(Enterpris
阅读全文