<input type="file" name="file" id="file" multiple onchange="javascript:updateList()" /> <br/>Selected files: <div id="fileList"></div>