{ winstyle = "dialogWidth=375px; dialogHeight:175px; center:yes;status:no"; window.showModelessDialog('<% = barref %>&b=IE',window,winstyle); } else { window.open('<% = barref %>&b=NN','','width=370,height=165', true); } } return true; } function chk() { if (MyForm.FILE1.value=="") { alert("请从硬盘选择你要上传的文件..."); return false; } } </SCRIPT> <FORM NAME="MyForm" method="post" ENCTYPE="multipart/form-data" ACTION="?<% = PID %>&act=upload" OnSubmit="return ShowProgress();"> <INPUT NAME="FILE1" TYPE="FILE" SIZE="16"> <input name="Submit" type="submit" value="上 传" onclick="return chk()"></FORM> <%end if%> </body> </html> |