Home >Web Front-end >JS Tutorial >Client js determines the file type and file size and limits the upload size_javascript skills
Due to project needs! A script is needed to determine the size and file type on the client side! It’s so hard to find information online! I simply wrote an example myself and tested the file upload size limit. It is compatible with ie6, ie7, ie8, Google Chrome, ff and other browsers