0xV3NOMx
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.14.104


Current Path : /var/www/html/stph/js/
Upload File :
Current File : /var/www/html/stph/js/downloadStudentPhotos.js


function CalldownloadStudentPhotos()
{ 
	$("#page_main_div").load('html_modules/download_photo.html',function()
	{	
 
	document.getElementById('display_module_name').innerHTML = 'Download Photo';
	document.getElementById('module_name_for_save').value = 'Download Photo';	 	
	clearCalldownloadStudentPhotos();
	getDefaultHeadFooterLinks("Download Photo");
	
	}
	);
  // $('#module_details_div').hide();	
}

function clearCalldownloadStudentPhotos()
{
	$("#degree_code").val('');
	//document.getElementById('it_module').innerHTML = '';
	$("#degree_code").focus();
}



function downloadAllStudentPhotos()
{	
	if(trim($('#degree_code').val()) == '')
	{
		alert("Enter Degree Code ");		
		$("#degree_code").focus();
		return;
	}
	if(trim($('#uploadPhoto_regno_start_from').val()) =='')
	{
		alert("Enter Register / Roll Number ");		
		$("#uploadPhoto_regno_start_from").focus();
		return;
	}

		
		 window.location.href = $host_url+"downloadAllStudentPhotos.demo&degreeCode="+$('#degree_code').val() +"&regStart="+$('#uploadPhoto_regno_start_from').val()+"&regEnd="+$('#uploadPhoto_regno_end_to').val(); 

}