[jQuery] input file type get name

[jQuery] input file type get name

hi,
I was wondering if anyone knows a way to get the file name(the one the
user has just browsed and is about to upload using the form) from a
form input.
I tried $("#fileInput").val() but it does not work.
cheers,