File

2 Ways Get File Extension in Javascript?

2 Ways Get File Extension in Javascript?

Get file extension in Javascript: In a web application, we use form tag to save user input. Primary form tag contains textbox, textarea and input file .i.e ( file upload ), etc. While data entering user can upload any file format, so we need to validate it on the client side as well as serverside. […]


by - Satinder singh

How to Get File Name, Size, Type Count in jQuery [Input File, File Api]

How to Get File Name, Size, Type Count in jQuery [Input File, File Api]

 jQuery get File Name, Type: This article explains how to get the file name, file size (in bytes), file type (Text/PDF/CSS files) and total selected file counts in jQuery before uploading it to the server. Basically, when the user selects any files using input file tag we will display its name, size and the total number of […]


by - Satinder singh