Linux Smart 解压文件 #!then unzip "$1" else unzip "$1" -d "$2" fi ;;then tar -zxvf "$1" else tar -zxvf "$1" -C "$2" fi ;;;;esac xiaoxiaolovei 2011-11-17 22:21:17
js 验证各种格式类型的正则表达式 if(str==null||str=="")returnfalse;nReg.test(str)&&!}else{ returnfalse;} } if(!}else{ returnfalse;} };} returnfalse;}; lrjnlp 2013-01-24 10:00:27
html5 上传实用小例子 var ftype = $('#i_file')[0].files[0].type;var fname = $('#i_file')[0].files[0].name;");");");} }); zhangpeng 2013-10-12 12:00:23
JS正则表达式验证 if (str == null || str == "") return false;} else { return false;} } if (!} else { return false;} };} return false;}; gongg0 2013-01-21 22:12:18