i want to learn about getting the uploaded file name and file size from a html web form to get the values of the form which has an upload file and i want to detect it using javascript so in case its more than i can allow it will show an pop alert message on the screen for the user

can that be done?



how can i do it?