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 : 3.140.195.142
function CallEnableAckExamAppForm()
{
$("#page_main_div").load('html_modules/ack_exam_app_form.html?v=23032016',function()
{
document.getElementById('display_module_name').innerHTML = 'Acknowledge Exam App Form';
document.getElementById('module_name_for_save').value = 'Acknowledge Exam App Form';
getDefaultHeadFooterLinks('Acknowledge Exam App Form');
$(".ui-tabs .ui-tabs-panel").css("padding","0px");
$(".ui-tabs .ui-tabs-panel").css("padding-top","21px");
return false;
});
}
function DisplayAllAckExamApplications()
{
/* degree = trim($("#degreecode").val());
if(degree =='')
{
alert("Enter Degree");
document.getElementById('degreecode').focus();
return false;
} */
var dataString = "&app_no_from="+$("#app_no_from").val()+"&app_no_to="+$("#app_no_to").val();
dataString += "&roll_no_from="+$("#roll_no_from").val()+"&roll_no_to="+$("#roll_no_to").val();
dataString += "°ree_from="+$("#degree_from").val()+"°ree_to="+$("#degree_to").val();
$.ajax({
type: "POST",
data:dataString,
url: $host_url+"DisplayAllAckExamApplications",
success: DisplayAllAckExamApplicationsResponce
});
}
function DisplayAllAckExamApplicationsResponce(responce)
{
responce = eval('(' + responce + ')');
$("#ack_rv_rt_application_details").html("");
$("#ack_rv_rt_application_details").html(responce.data['html']);
}
function AcknowledgeSelectedExamApplications()
{
checked_app_nos=new Array();
var obj=$("input[id*='ack_check_box_']") ;
jQuery.each(obj, function(k, v) {
row_id=v['id'].split("_")[3];
if($(this).is(':checked'))
checked_app_nos.push(row_id+'*T');
else
checked_app_nos.push(row_id+'*F');
});
if(empty(checked_app_nos))
{
alert("Please select minumum one application to acknowledge.");
return false;
}
$.ajax({
type: "POST",
data:"checked_app_nos="+checked_app_nos,
url: $host_url+"AcknowledgeSelectedExamApplications",
success: AcknowledgeSelectedExamApplicationsResponce
});
}
function AcknowledgeSelectedExamApplicationsResponce(responce)
{
responce = eval('(' + responce + ')');
alert(responce.data);
DisplayAllAckExamApplications();
}
function PrintSelectedExamApplications()
{
app_no=new Array();
var obj=$("input[id*='pre_check_box_']") ;
jQuery.each(obj, function(k, v) {
row_id=v['id'].split("_")[3];
if($(this).is(':checked'))
app_no.push(row_id);
});
if(empty(app_no))
{
alert("Please select minumum one application to print.");
return false;
}
window.location.href=$host_url+"PrintOnlineExamApplicationForm&app_no="+app_no;
}
function checkAllPrint()
{
if(document.getElementById('print_all').checked == true)
{
var obj=$("input[id*='pre_check_box_']") ;
jQuery.each(obj, function(k, v) {
document.getElementById(v['id']).checked = true;
});
}
else
{
var obj=$("input[id*='pre_check_box_']") ;
jQuery.each(obj, function(k, v) {
document.getElementById(v['id']).checked = false;
});
}
}
function PrintOnlineExamApplicationForm(app_no)
{
window.location.href=$host_url+"PrintOnlineExamApplicationForm&app_no="+app_no;
}
function DownloadExamApplicationsForms()
{
var dataString = "&app_no_from="+$("#app_no_from").val()+"&app_no_to="+$("#app_no_to").val();
dataString += "&roll_no_from="+$("#roll_no_from").val()+"&roll_no_to="+$("#roll_no_to").val();
dataString += "°ree_from="+$("#degree_from").val()+"°ree_to="+$("#degree_to").val();
window.location.href=$host_url+"DownloadExamAppFormApplications"+dataString;
}
|