javascript get name of uploaded file input code example
Example 1: get uploaded file name
fake_path=document.getElementById('FileUpload1').value
alert(fake_path.split("\\").pop())
Example 2: js get the filename you uploaded
var fu1 = document.getElementById("FileUpload1");
alert("You selected " + fu1.value);