(in other words, when I finish all step of case 1, I can see 3 upload result, fuPictureUrl 2 times, fuQRCodeUrl one time)
(in other words, when I finish all step of case 2, I can see the same upload result on fuPictureUrl and fuQRCodeUrl)
<script type="text/javascript" charset="utf-8" src="assets/js/pekeUpload.js"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function () {
$("#fuPictureUrl").pekeUpload({
maxSize: 0,
allowedExtensions: "jpeg|jpg|png|gif",
multi: false,
btnText: "Select your picture",
onSubmit: false,
url: "ashxs/file_upload_handler.ashx"
});
$("#fuQRCodeUrl").pekeUpload({
maxSize: 0,
allowedExtensions: "jpeg|jpg|png|gif",
multi: false,
btnText: "Select QR Code",
onSubmit: false,
url: "ashxs/file_upload_handler.ashx"
});
</script>
<form id="form1" runat="server"><!--Begin Form-->
<table>
<tbody>
<tr>
<th>Picture</th>
<td>
<input id="fuPictureUrl" name="fuPictureUrl" type="file" />
</td>
</tr>
<tr>
<td colspan="2">
<div>Size: Width, 306px; Height, 376 px</div>
<div>Format: jpeg, png, gifใ</div>
</td>
</tr>
<tr>
<th>Name</th>
<td>
<input id="tbFullName" type="text" />
</td>
</tr>
<tr>
<th>IM</th>
<td>
<input id="tbVXinCode" type="text" />
</td>
</tr>
<tr>
<th>Mobile</th>
<td>
<input id="tbMobile" type="text" />
</td>
</tr>
<tr>
<th>Office</th>
<td>
<input id="tbOffice" type="text" />
</td>
</tr>
<tr>
<th>QRCode</th>
<td>
<input id="fuQRCodeUrl" name="fuQRCodeUrl" type="file" />
</td>
</tr>
<tr>
<td colspan="2">
<div>Size: Width, 430px; Height, 430 px</div>
<div>Format: jpeg, png, gif</div>
</td>
</tr>
<tr>
<th>ไฟฎ็ๅ</th>
<td>
<select id="garages" name="garages">
<option value="">-่ฏท้ๆฉ-</option>
<%=Garages %>
</select>
</td>
</tr>
</tbody>
</table>
<div> </div>
<!--ToolsStript-->
<div class="btn-toolbar">
<div class="btn-group">
<span id="save" class="btn btn-sm">ไฟๅญ</span>
<span id="cancel" class="btn btn-sm">ๅๆถ</span>
</div>
</div> <!--ToolsStript-->
</form><!--End Form-->