validating files
validating files
I am wondering how to validate two thing using jquery.
1. That a file has been selected or not
2. Wether that file is a png, gif or jpg
currently all i have for the rule is
image: {
required: true,
accept: jpg|gif
}
what am i missing...
Thanks in advance
Ilan