170
rated 0 times
[
174]
[
4]
/ answers: 1 / hits: 46814
/ 15 Years ago, sun, january 10, 2010, 12:00:00
i have a form like this:
<form method=post src=upload enctype=multipart/form-data>
<input name=img1 id=img1 type=file>
<input type=submit value=Upload>
</form >
Please how can I valid this form using javascript so that only jpg files are uploaded. thanks for reading.
More From » file-upload