I have a form which is uploading a file. I want to use javascript to validate
the file by making sure it isn't to big (not exceeds more 50 chars) and that it
is of proper file type(*.zip. Unfortunetly I have no idea of how to go about
validating either of the two things I need validated.
I've searched using google for the answers and have found many pages of nothing
or "sign up to find the solution" so any help would be greatly appreciated
I have a form which is uploading a file. I want to use javascript to validate the file by making sure it isn't to big (not exceeds more 50 chars) and that it is of proper file type(*.zip. Unfortunetly I have no idea of how to go about validating either of the two things I need validated.
I've searched using google for the answers and have found many pages of nothing or "sign up to find the solution" so any help would be greatly appreciated