Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.191.205.149
function getManualUploadheader()
{
window.location.href=$host_url+"getManualUploadheader&schema_id="+$g_user_schema_details_array.data[1][0].ref_s_user_schema_code+"&module_name="+$g_str_module_name ;
}
function CallImportMarks()
{
$("#page_main_div").load('html_modules/custom_upload_details.html',function()
{
document.getElementById('display_module_name').innerHTML = 'Import Marks';
document.getElementById('module_name_for_save').value = 'Import Marks';
getDefaultHeadFooterLinks('Import Marks');
});
}
function ImportMarksViaExcel()
{
ext = document.getElementById('module_details_uploaded_file').value;
filepath = ext;
ext = ext.substring(ext.length-3,ext.length);
ext = ext.toLowerCase();
if(ext != "")
{
if(ext == "xls")
{
document.getElementById('form_module_details_upload').action = $host_url+"ImportMarksViaExcel&filepath="+filepath +"&module_name="+$g_str_module_name ;
document.getElementById('form_module_details_upload').target='_new';
// document.getElementById('form_module_details_upload').target='report_display';
document.getElementById('form_module_details_upload').submit();
}
else
alert('You have selected a .'+ext+' file; Please select a valid .csv file ');
}
else
alert("Please select a File");
}
|