上一页 1 ··· 16 17 18 19 20
摘要: /*输入:strIP:ip地址 返回:如果通过验证返回true,否则返回false; */ function isIP(strIP) { if (isNull(strIP)) return false; var re = /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/g //匹配IP地 阅读全文
posted @ 2018-10-29 13:59 愚蠢的程序员 阅读(2270) 评论(0) 推荐(0) 编辑
摘要: /* 用途:检查输入字符串是否符合国内固话或者传真格式 输入: s:字符串 格式例如:030-4557777返回: 如果通过验证返回true,否则返回false */ function isTel(s){ var reg=/^((0\d{2,3})-)?(\d{7,8})(-(\d{3,}))?$/ 阅读全文
posted @ 2018-09-30 08:41 愚蠢的程序员 阅读(5238) 评论(0) 推荐(0) 编辑
摘要: 第一种:选中项目,点右键Refresh即可, 第二种:选择project->clean,选中所要编译得项目,点ok即可 阅读全文
posted @ 2018-09-26 09:38 愚蠢的程序员 阅读(4010) 评论(0) 推荐(0) 编辑
摘要: 第一步:在要修改的项目名称上右击选择最下面一列的”prepertise“(属性),进入属性设置界面。 第二步:找到左侧菜单栏的”Myeclipse“中的web项,设置”Web Context -root“值,之后点击”ok“按钮,即可完成设置。 Web-root folder:为项目根路径。 web 阅读全文
posted @ 2018-09-11 09:21 愚蠢的程序员 阅读(1007) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20