How to get uploaded file value in JS?
Posted on 2008-10-17
I am using a HTML file Input control to upload some files. I'm able to get the file path in IE using the command..."document.getelementbyId("filecontrolid").value. Now, the problem is if I run the application in IE its giving full filename, including filepath. But, the same code is yeilding only filename (without path) in mozilla browser. How to over come this and get the filename with filepath in both browsers???