- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a >
- body,td,th {
- font-family: "微软雅黑", Tahoma, Helvetica, Arial, \\5b8b\\4f53, sans-serif;
- }
- </style>
- </head>
- <body>
- <form action="/a.html" method="post" name="loginForm" style="margin:0 0; padding:0 0;">
- <input name="uploaddir" id="uploaddir" type="text" value="D:\\a" style="width:800px;" />
- <input type="button" value="开始" id="startIt" name="startIt" onclick="javascript:startUpload();"/>
- </form>
- <form action="/index/upload" method="post" name="uploadForm" enctype="multipart/form-data" target="hidden_frame">
- <input type="file" name="fileupload" id="fileupload" />
- <iframe name='hidden_frame' id="hidden_frame" style='display:none'></iframe>
- </form>
- </iframe>
- <div id="showArea">
- </div>
- </body>
- </html>
- //该片段来自于http://www.codesnippet.cn/detail/210120131812.html
来源: http://www.codesnippet.cn/detail/210120131812.html