1.upload.html
<html>
<head>
<meta charset="utf-8">
<script src="jquery.min.js"></script>
</head>
<style>
/*.thumb-image{*/
/*width:200px;*/
/*height:200px;*/
/*}*/
</style>
<body>
<!--<img src="timer.jpg" height="91" width="121" id="file"/>-->
<input type="file" id="fileUpload" multiple>
<div id="image-holder">
</div>
<button id="upload">上传</button>
<script>
$(function () {
$("#fileUpload").on('change', function () {
var countFiles = $(this)[0].files.length;
console.log(countFiles);
var imgPath = $(this)[0].value;
console.log(imgPath);
var ext = imgPath.substring(imgPath.lastIndexOf(&#