Javascript

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