I'm building a file uploader. but I want to upload from a folder on the server so the path of the browser is restricted to
C:\wamp\www\JSSoundRecorder\upload
how can I specify the path in the html input file?? html code:
<button id="id">Open</button>
<input id="yourinputname" type="file" name="yourinputname" style="display: none;" />
jquery code:
$('#id').on('click', function() {
$('#yourinputname').trigger('click');
});
example: http://jsfiddle.net/QVAC7/