10-01-2007, 02:28 PM
|
#2 (permalink)
|
|
The Contributor
Join Date: Sep 2007
Location: London, UK
Posts: 47
Thanks: 4
|
Looks like it will warn you every time. I'm no good at javascript but maybe do a check for something like:
if (file ext. doesn't equal jpg){
alert("error!");
}
else
{
//carry on with upload or whatever...
}
sorry but I do not know the right js code to put in...
|
|
|
|