mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-14 19:11:39 -08:00
10 lines
238 B
JavaScript
10 lines
238 B
JavaScript
function loadingAnimation() {
|
|
// if csv is empty
|
|
if ($("#csv").val() == "") {
|
|
alert("Please select a file!");
|
|
return;
|
|
}
|
|
$('#uploadCsvForm').submit();
|
|
$('.container').hide();
|
|
$('#loading').show();
|
|
}
|