From d70286a51612082c658f210a80f1bbcd5a832fdb Mon Sep 17 00:00:00 2001 From: gayathri1990 Date: Thu, 15 Feb 2018 10:08:49 +0530 Subject: [PATCH] file upload notification --- application/views/inwardgateregister.php | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/application/views/inwardgateregister.php b/application/views/inwardgateregister.php index 340f94bb..bebc27ff 100755 --- a/application/views/inwardgateregister.php +++ b/application/views/inwardgateregister.php @@ -142,7 +142,7 @@ Inputmask("A{2,3} 9{1,2} A{1,2} 9{4}").mask($("#VehicleNo"));
- + @@ -201,7 +201,7 @@ Inputmask("A{2,3} 9{1,2} A{1,2} 9{4}").mask($("#VehicleNo"));
@@ -613,4 +613,23 @@ function Save() $('#IGR').submit(); }//validate if closed }//save function closed +function filecheck() +{ + var myfile = $('#myfile').val(); + if(myfile=='') + { + alert('File not Found'); + Save(); + } + +} +function filealert() +{ + var myfile = $('#myfile').val(); + if(myfile!='') + { + alert('Your file added successfully'); + } + +} \ No newline at end of file