I\'ve seen similar questions before,which ends up with no solution,because of security reasons.
But today I see hostmonster has successfully implemented this,when I
You can use the next code:
JS
function showname () { var name = document.getElementById('fileInput'); alert('Selected file: ' + name.files.item(0).name); alert('Selected file: ' + name.files.item(0).size); alert('Selected file: ' + name.files.item(0).type); };
HTML