I have on my aspx page this
<script>
if (form.upfile1.value == "") { return "No file1";}
else
{
return "Has File1" } ;
if (form.upfile2.value == "") { return "No file2";}
else
{return "has File 2};
===============
What I need is these are two SEPARATE if then statements
ie
If A true then B else C
If D true then E else F
Now my code above runs and I found they are not completely separated. Maybe I used those semi commas or brackets wrongly.
Could anyone help to point out what went wrong.
Thanks
Go to the complete details ...