<div id="upload-Audio"> <h1>Create Track</h1> <form id="track-content"> <label for="track-name">Track Name</label> <input id="track-name" type="text"> <input id="file-upload" accept="audio/mpeg,audio/mpeg3,audio/x-mpeg-3,audio/ogg" type="file"> <a class="btn btn-default" id="submitFile" style="display:none">Upload</a> </form> <!-- This div and audio player is hidden by default but will be shown if the upload succeeds --> <div class="showOnSuccess" role="alert" style="display:none; margin-top: 1em;"> <audio id="upload-player" controls> <source type="audio/mpeg">Your browser does not support the audio element. </audio> </div> </div>