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.219.255.63
function Callphotoreport() {
$("#page_main_div").load("../../html_modules/photo_report.html", function() {
document.getElementById("display_module_name").innerHTML = "Photo Report";
document.getElementById("module_name_for_save").value = "Photo Report";
getDefaultHeadFooterLinks("Photo Report");
});
}
function downloadAllStudentPhotos() {
if (trim($("#college_from").val()) == "") {
alert("Enter College From");
$("#college_from").focus();
return;
}
if (trim($("#degree_from").val()) == "") {
alert("Enter Degree From");
$("#degree_from").focus();
return;
}
var datastring =
"&college_from=" +
$("#college_from").val() +
"&college_to=" +
$("#college_to").val() +
"°ree_from=" +
$("#degree_from").val() +
"°ree_to=" +
$("#degree_to").val();
//alert(datastring);
$.ajax({
type: "POST",
url: $host_url + "checkphotoreport",
data: datastring,
success: checkphotoreportSuccess
});
//window.location.href = $host_url+"downloadAllStudentPhotos.demo&college_from="+$('#college_from').val()+"&college_to="+$('#college_to').val()+"°ree_from="+$('#degree_from').val()+"°ree_to="+$('#degree_to').val();
}
function checkphotoreportSuccess(responce) {
responce = eval("(" + responce + ")");
if (responce.error_code == -1) {
alert("No details found for given data");
return false;
} else
window.location.href =
$host_url +
"downloadAllStudentPhotosreport.demo&college_from=" +
$("#college_from").val() +
"&college_to=" +
$("#college_to").val() +
"°ree_from=" +
$("#degree_from").val() +
"°ree_to=" +
$("#degree_to").val();
}
|