Brand new to JS.
I have gone through a bunch of solutions and nothing is working for me. I am trying to avoid the /c/fakepath (unless there is no other option)
<input type="file" name="videoFile" id="videoUploadFile" />
var vidFile = $("#videoUploadFile").value;
var vidFile = document.getElementById("videoUploadFile").files.name;
cannot read property name of undefined