正文
前台页面
前台代码
</pre><pre name="code" class="html"><s:form id="fileForm" name="fileForm" enctype="multipart/form-data" method="post" > <table class="table table-bordered table-striped" style="border: #cdcdcd 1px solid; text-align: center;" align="center"> <tr> <td> <font color="red">*</font>一类: <div> <input id="materialTypeName" name="materialTypeName1" type="radio" value="企业法人营业执照" checked/> 企业法人营业执照 <input id="materialTypeName" name="materialTypeName1" type="radio" value="事业单位法人证书" /> 事业单位法人证书 <input id="materialTypeName" name="materialTypeName1" type="radio" value="民办非企业单位登记证书" /> 民办非企业单位登记证书 <br /> <br /> <input id="materialTypeName" name="materialTypeName1" type="radio" value="社会团体法人登记证书" /> 社会团体法人登记证书 <input id="materialTypeName" name="materialTypeName1" type="radio" value="个人工商户营业执照" /> 个人工商户营业执照<input id="materialTypeName" name="materialTypeName1" type="radio" value="其它" /> 其它 <label class="control-label"></label> <div align="right"> <s:file id="file1" label="File(1)" name="uploads" /> </div> </div> <input id="materialType1" name="materialType1" type="hidden" value="" /> </td> </tr> <tr> <td> <div align=left> <font color="red">*</font>二类: <label style="font-size: 12px;"> 中华人民共和国组织机构代码 </label> <div align="right"> <s:file id="file2" label="File(2)" name="uploads" /> </div> </div> <input id="materialType2" name="materialType1" type="hidden" value="" /> <input id="materialTypeName2" name="materialTypeName1" type="hidden" value="" /> </td> </tr> <tr> <td> <div align=left> <font color="red">*</font>三类: <label style="font-size: 12px;"> 法定代表人身份证 </label> <div align="right"> <s:file id="file3" label="File(3)" name="uploads" /> </div> </div> <input id="materialType3" name="materialType1" type="hidden" value="" /> <input id="materialTypeName3" name="materialTypeName1" type="hidden" value="" /> </td> </tr> <tr> <td> <div align=left> 四类: <label style="font-size: 12px;"> 劳务派遣经验许可证 </label> <div align="right"> <s:file id="file4" label="File(4)" name="uploads" /> </div> </div> <input id="materialType4" name="materialType1" type="hidden" value="" /> <input id="materialTypeName4" name="materialTypeName1" type="hidden" /> </td> </tr> <tr> <td> <div align=left> 五类: <label style="font-size: 12px;"> 其它 </label> <div align="right"> <s:file id="file5" label="File(5)" name="uploads" /> </div> </div> <input id="materialType5" name="materialType1" type="hidden" value="" /> <input id="materialTypeName5" name="materialTypeName1" type="hidden" /> </td> </tr> <tr> <td> <div align="center"> <input id="picButton" type="button" value="提交申请" onclick="validate()" class="btn btn-primary"></input> </div> </td> </tr> </table> </s:form>
<s:fileid="file1" label="File(1)" name="uploads" />
<s:fileid="file2" label="File(2)" name="uploads" />
Js代码