
Javascript
ctllin
孤芳自赏
展开
-
动态加载数据autoComplete(mysql数据库)
/**需要jquery.autocomplete.js和jquery.js连个文件/DbManager.javapackage person;import java.sql.Connection;import java.sql.Date;import java.sql.DriverManager;import java.sql.PreparedStatement;imp原创 2013-02-02 17:02:14 · 7329 阅读 · 2 评论 -
js 获取cookies
function getCookie(c_name){ if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "=") if (c_start!=-1) { c_start=c_start + c_name.length+1 c_end=document.原创 2014-04-16 18:55:00 · 822 阅读 · 0 评论 -
ajax异步
//account_add.jsp验证function checkIdcard(){ //birthdate idcard_no_msg1 idcard_no var value=$('#idcard_no').val().trim(); var rex=/^\d{18}$/; if(!rex.test(value)){ $('#birthdate').val('');原创 2014-03-25 17:59:02 · 669 阅读 · 0 评论 -
js遍历目录
遍历目录<link rel="stylesheet" id='cssSha' href="fengru_share.css" type="text/css" /><link rel="stylesheet" id='cssGbl' href="fengru_global.css" type="text/css" />.x-tree,.x-panel-body { border:原创 2014-04-22 13:55:54 · 2025 阅读 · 0 评论 -
cookieUtil.js
function cookieUtil() { this.getCookie = getCookie; this.setCookie = setCookie; this.checkCookie = checkCookie; this.delCookie=delCookie; this.clearCookies=clearCookies; this.begin=begin;原创 2014-05-15 03:28:38 · 3111 阅读 · 0 评论 -
js动态加载js
><link rel="stylesheet" id='cssSha' href="fengru_share.css" type="text/css" /><link rel="stylesheet" id='cssGbl' href="fengru_global.css" type="text/css" />.x-tree,.x-panel-body { border: 0px;原创 2014-05-15 04:50:11 · 671 阅读 · 0 评论 -
Ajax动态加载xml文件内容
<% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";%>">My JSP 'inde原创 2014-08-28 22:57:23 · 2611 阅读 · 0 评论