WEB开发
zhangzhenting
报表: iReport
系统重构: SSB --> SSH 缓存与事务管理
系统集成: 数据库同步,LDAP同步,系统账户与设备账户同步;webService,SOA思想
补充: Linux, DB, ERP
-----------------------------------------------------------
ENGLISH, PMP
展开
-
JS检查非法字符
var reg_exp = /([~!@#$%&*()`=+,.;?<>-]|\\|\/|\'|\")/; if (reg_exp.test(teststring)) { alert("xxx"); return; }2010-03-17 14:18:14 · 161 阅读 · 0 评论 -
JS 使用正则去掉空格
// JS去掉左边空格 function lTrim(str) { if ((typeof(str) != "string") || !str) { return ""; } return str.replace(/(^\s*)/g, ""); } // JS去掉右边空格 function rTrim(str) { if ((typeof(str) !...2010-04-13 11:03:32 · 112 阅读 · 0 评论 -
JS 屏蔽刷新,屏蔽右键
// 屏蔽刷新代码 document.onkeydown=function() { if ((window.event.keyCode==116) || //屏蔽 F5 (window.event.keyCode==122) || //屏蔽 F11 (window.event.shiftKey && window.event.keyCode==121) //...原创 2010-05-26 09:36:21 · 76 阅读 · 0 评论 -
HTML自动生成EXCEL报表
<%@ page contentType="application/vnd.ms-excel;charset=UTF-8"%> <html> <head> <meta http-equiv="Content-Type" content="application/vnd.ms-exc; charset=UTF-8"&原创 2010-08-26 17:05:29 · 263 阅读 · 0 评论