How do I get the name of the file uploaded to a form (post) with a code similar to this:
frm.name.value
frm.password.value
frm.email.value
How can I get the name of frm.file? I want the "synonym" of $_FILES["FILE"]["NAME"].
Need pure JavaScript code without jQuery please.
According to the HTML5 API should be frm.file.name but that doesn't works. It's returning null on the basadate.