1 2 3 4 5 6 7 8 9 10 11
<script> function uploadDG(form) { if ( form.filename.value.length == 0) { alert('Must select a file.'); return false; } else { form.submit(); return; } } </script>