`
ianylb
  • 浏览: 74390 次
  • 性别: Icon_minigender_1
  • 来自: 厦门
社区版块
存档分类
最新评论
文章列表
import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import sun.net.TelnetOutputStream; import sun.net.ftp.FtpClient; import sun.security.action ...
/** *   文本框只允许输入数字或小数点时调用此方法。 *   obj:文本框对象 */ function clearNoNum(obj){ if(inNaN(obj.value)) { obj.value = obj.value.replace(/[^\d.]/g,""); //先把非数字的都替换掉,除了数字和. obj.value = obj.value.replace(/^\./g,"");//必须保证第一个为数字而不是. obj.value = obj.value.replace(/\.{2,}/g,"." ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD>   <TITLE> New Document </TITLE>   <META NAME="Generator" CONTENT="EditPlus">   <META NAME="Author" CONTENT="">   <META NAME=&quo ...
<html> <head> <title>自动换焦点</title> <script language="javascript" event="onkeydown" for="document">  if(event.keyCode==13 && event.srcElement.type!='button' && event.srcElement.type!='submit' && event.srcElemen ...
/** --------------------------------------------------------------------------- * 添加配件信息 * @author yeliangbiao ------------------------------------------------------------------------------*/ function addPrepare(){ var prepareTable = $("prepareTable"); var tr = prepareTable.insertRow(p ...
/** 作者信息 name: yeliangbiao email: ianylb@sina.com 此脚本用来转换特殊字符,如"&"转换成"&amp;" */ //在正则表达式中有特殊意义的字符 var regSpecialChars = [ "^","$","(",")","[","]","{","}",".","?","+&q ...
Global site tag (gtag.js) - Google Analytics