"> " />
欢迎来到天天文库
浏览记录
ID:40856621
大小:49.00 KB
页数:10页
时间:2019-08-08
《添加多个上传框》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、testUpload.htm
2、"border="0"cellpadding="0"cellspacing="0">Upload.css.uploadTable{font-siz
4、e:12px;}.uploadTableinput{width:300px;}Common.js//JavaScriptDocumentforpublicfunctionsfunction$(id){//returnHTMLobjectbyobjectidvarobj=false;obj=document.getElementById(id);if(obj==null){obj=parent.document.getElementById(id);}returnobj?obj:undefined;}function$V(id){//returnHTMLobject's
5、valueif($(id)!=undefined){return$(id).value;}else{returnnull;}}function$Len(id){if($(id)!=undefined){return$(id).options.length;}else{returnnull;}}function$Rows(id){if($(id)!=undefined){return$(id).rows.length;}else{returnnull;}}//------ajax---------varAjax={getTransport:function(){retu
6、rnTry.these(function(){returnnewXMLHttpRequest()},function(){returnnewActiveXObject("Msxml2.XMLHTTP")},function(){returnnewActiveXObject("Microsoft.XMLHTTP")})
7、
8、false;},activeRequestCount:0}varTry={these:function(){varreturnValue;for(vari=0,length=arguments.length;i9、a=arguments[i];try{returnValue=lambda();break;}catch(e){}}returnreturnValue;}}//------selectoptionscontrol-----functionaddOptions(selectId,arrValue,arrText){try{for(i=0,arrLen=arrValue.length;i
9、a=arguments[i];try{returnValue=lambda();break;}catch(e){}}returnreturnValue;}}//------selectoptionscontrol-----functionaddOptions(selectId,arrValue,arrText){try{for(i=0,arrLen=arrValue.length;i
此文档下载收益归作者所有