I need to create a file upload field which I have below:
<div class="col-xs-4 col-md-4 form-group">
<label for="file-upload" >File Upload</label>
<input type="file" id="file-upload"/>
</div>
How do I access the contents of the selected file without going to another page or adding anything to the URL in Javascript?