function CheckFiles(obj) { var array = new Array('gif', 'jpeg', 'png', 'jpg'); //可以上传的文件类型 if (obj.value == '') { alert("让选择要上传的图片!"); return false; } else { var fileContentType = obj.value.match(/^(.*)(\.)(.{1,8})$/)[3]; //这个文件类型正则很有用:) var isE
1 var iReporterID = 0; 2 var row = 0; 3 4 var $D = YAHOO.util.Dom; 5 var $E = YAHOO.util.Event; 6 var $C = YAHOO.util.Connect; 7 var $V = YAHOO.util.ValidationManager; 8 var $ = $D.get; 9 var $P = EGOVA.page.PageUtils; 10 var timer = null; 11 var cal