选择文件表单以窗口形式弹出:
<div id="uploadDiv" style="display: none;">
<article class="page-container"><form action="" method="POST" class="form form-horizontal" id="uploadForm" enctype="multipart/form-data">
<input type="file" name="excelFile" id="excelFile" /><br />
<label id="fileName"></label><br />
<label id="uploadInfo"></label>
<div style="font-size: 14px;">各列在表格中对应的位置</div>
<div class="text-c">
<span class="select-box inline" style="width: 20%;">
<select class="select checkSelectedValue" name="namePosition" style="width: 100%;"><option value="">姓名</option>
<option value="0">A列</option>
<option value="1">B列</option>
<option value="2">C列</option>
<option value="3">D列</option>
<option value="4">E列</option>
<option value="5">F列</option>
<option value="6">G列</option>
</select>
</span>
<span class="select-box inline" style="width: 20%;">
<select class="select checkSelectedValue" name="genderPosition" style="width: 100%;">
<option value="">性别</option>
<option value="0">A列</option>
<option value="1">B列</option>
<option value="2">C列</option>
<option value="3">D列</option>
<option value="4">E列</option>
<option value="5">F列</option>
<option value="6">G列</option>
</select>
</span>
<span class="select-box inline" style="width: 20%;">
<select class="select checkSelectedValue" name="numberPosition" style="width: 100%;">
<option value="">学号/工号</option>