dvreg_upload.js

来自「胜天购物销售系统前台购买特征: 时代购物系统前台购物车部分界面友好」· JavaScript 代码 · 共 15 行

JS
15
字号
function uploadform()
{	
	document.write ('<table border="0"  cellspacing="0" cellpadding="0" width=100%>');
	document.write ('<tr>');
	document.write ('<td class=tablebody1>');
	document.write ('<form name="form" method="post" action="upfile.asp" enctype="multipart/form-data" >');
	document.write ('<input type="hidden" name="filepath" value="uploadFace">');
	document.write ('<input type="hidden" name="act" value="upload">');
	document.write ('<input type="file" name="file1">');
	document.write ('<input type="hidden" name="fname">');
	document.write ('<input type="submit" name="Submit" value="上传" onclick="fname.value=file1.value,parent.document.theForm.Submit.disabled=true,');
	document.write ('parent.document.theForm.Submit2.disabled=true;">');
	document.write ('</form>');
}
uploadform();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?