This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="" enctype="multipart/form-data" id="file-form" method="POST"> | |
<div id="upup"> | |
<h2>Upload update file</h2> | |
<p id="progressdiv"><progress max="100" value="0" id="progress" style="display: none;"></progress></p> | |
<input type="file" name="file-select" id="file-select"> | |
<button type="submit" id="upload-button">Upload</button> | |
</div> | |
</form> | |
<script type="text/javascript"> | |
var form = document.getElementById('file-form'); |