I have an input element with a file type in my form. I like to check the file size before the item is loaded for verification. Using most primary web browsers (except IE, which always make things harder), I found that everyone uses an “attribute” that updates whenever I select a new file and display the file size, as well as other useful information.
Here is what I see in the Chrome web browser:

The question is, how can I access this value using JavaScript? I tried several ways, but no one was good for me? Any good idea please?
NOTE. I use jQuery on my website, so it doesn’t matter that there is only a regular JavaScript response.
Merianos Nikos