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.22.42.25
function loadPostDetails()
{
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadPostDetails',
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$("#posttable tbody").remove();
document.getElementById("ctab_post").className = "vsuccess";
$("#student_photo").attr("src", responce.data[0].photo);
$("#student_sign").attr("src", responce.data[0].sign);
var respdata = responce.data;
for(var j=0;j<respdata.length; j++)
{
addpostdet(responce);
}
}
}
});
}
function loadRefrnceDetails()
{
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadRefrnceDetails',
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
document.getElementById("ctab_refr").className = "vsuccess";
var respdata = responce.data;
document.getElementById("S24").value = responce.data[0].frname;
document.getElementById("S25").value = responce.data[1].frname;
document.getElementById("S26").value = responce.data[2].frname;
document.getElementById("S27").value = responce.data[0].fradd;
document.getElementById("S28").value = responce.data[1].fradd;
document.getElementById("S29").value = responce.data[2].fradd;
document.getElementById("S30").value = responce.data[0].fremail
document.getElementById("S31").value = responce.data[1].fremail
document.getElementById("S32").value = responce.data[2].fremail
document.getElementById("S33").value = responce.data[0].frphoneno
document.getElementById("S34").value = responce.data[1].frphoneno
document.getElementById("S35").value = responce.data[2].frphoneno
document.getElementById("S36").value = responce.data[0].frmobileno;
document.getElementById("S37").value = responce.data[1].frmobileno;
document.getElementById("S38").value = responce.data[2].frmobileno;
document.getElementById("S39").value = responce.data[0].frfaxid;
document.getElementById("S40").value = responce.data[1].frfaxid;
document.getElementById("S41").value = responce.data[2].frfaxid;
}
}
});
}
function loadEducationalDetails()
{
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadEducationalDetails',
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
document.getElementById("ctab_educt").className = "vsuccess";
//T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T50
//,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80
if(responce.data[0].fcourse == '10TH')
{
document.getElementById("T28").value = responce.data[0].funivname;
document.getElementById("T29").value = responce.data[0].fyear;
document.getElementById("T30").value = responce.data[0].fsecmarks;
document.getElementById("T31").value = responce.data[0].fmaxmarks;
document.getElementById("T32").value = responce.data[0].fpercentage;
document.getElementById("T33").value = responce.data[0].fdivision;
document.getElementById("T34").value = responce.data[0].fsubjects;
}
if(responce.data[1].fcourse == '12TH')
{
document.getElementById("T35").value = responce.data[1].funivname;
document.getElementById("T36").value = responce.data[1].fyear;
document.getElementById("T37").value = responce.data[1].fsecmarks;
document.getElementById("T38").value = responce.data[1].fmaxmarks;
document.getElementById("T39").value = responce.data[1].fpercentage;
document.getElementById("T40").value = responce.data[1].fdivision;
document.getElementById("T41").value = responce.data[1].fsubjects;
}
document.getElementById("TBA42").value = responce.data[2].fcourse;
document.getElementById("T42").value = responce.data[2].funivname;
document.getElementById("T43").value = responce.data[2].fyear;
document.getElementById("T44").value = responce.data[2].fsecmarks;
document.getElementById("T45").value = responce.data[2].fmaxmarks;
document.getElementById("T46").value = responce.data[2].fpercentage;
document.getElementById("T47").value = responce.data[2].fdivision;
document.getElementById("T48").value = responce.data[2].fsubjects;
document.getElementById("T49").value = responce.data[3].fcourse;
document.getElementById("T50").value = responce.data[3].funivname;
document.getElementById("T51").value = responce.data[3].fyear;
document.getElementById("T52").value = responce.data[3].fsecmarks;
document.getElementById("T53").value = responce.data[3].fmaxmarks;
document.getElementById("T54").value = responce.data[3].fpercentage;
document.getElementById("T55").value = responce.data[3].fdivision;
document.getElementById("T56").value = responce.data[3].fsubjects;
document.getElementById("T57").value = responce.data[4].funivname;
document.getElementById("T58").value = responce.data[4].fyear;
document.getElementById("T59").value = responce.data[4].fsecmarks;
document.getElementById("T60").value = responce.data[4].fmaxmarks;
document.getElementById("T61").value = responce.data[4].fpercentage;
document.getElementById("T62").value = responce.data[4].fdivision;
document.getElementById("T63").value = responce.data[4].fsubjects;
document.getElementById("T64").value = responce.data[4].ftopic;
document.getElementById("T65").value = responce.data[5].funivname;
document.getElementById("T66").value = responce.data[5].fyear;
document.getElementById("T67").value = responce.data[5].ftopic;
document.getElementById("T68").value = responce.data[6].funivname;
document.getElementById("T69").value = responce.data[6].fyear;
document.getElementById("T70").value = responce.data[6].fsecmarks;
document.getElementById("T71").value = responce.data[6].fmaxmarks;
document.getElementById("T72").value = responce.data[6].fpercentage;
document.getElementById("T73").value = responce.data[6].fdivision;
document.getElementById("T74").value = responce.data[6].fsubjects;
document.getElementById("T75").value = responce.data[4].fyear;
document.getElementById("T76").value = responce.data[4].fsubjects;
document.getElementById("T77").value = responce.data[4].fyear;
document.getElementById("T78").value = responce.data[4].fsubjects;
document.getElementById("T79").value = responce.data[4].fyear;
document.getElementById("T80").value = responce.data[4].fsubjects;
}
}
});
}
function loadforeignDetails()
{
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadforeignDetails',
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$("#foreignvisittable tbody").remove();
document.getElementById("ctab_foreign").className = "vsuccess";
var respdata = responce.data;
for(var j=0;j<respdata.length; j++)
{
addforeignvisitdet(responce);
}
}
}
});
}
function loadPersonalDetails()
{
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadPersonalDetails',
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$("#languageknowntable tbody").remove();
document.getElementById("ctab_pers").className = "vsuccess";
var persdata = responce.data.perdet;
document.getElementById("T1").value = persdata[0].fname;
document.getElementById("T2").value = persdata[0].fdob;
document.getElementById("T3").value = persdata[0].fage;
document.getElementById("T4").value = persdata[0].fbirthplace;
document.getElementById("T5").value = persdata[0].ffatname;
document.getElementById("T6").value = persdata[0].fmotname;
document.getElementById("T7").value = persdata[0].freligion;
document.getElementById("T8").value = persdata[0].fnational;
document.getElementById("T9").value = persdata[0].fgender;
document.getElementById("S3").value = persdata[0].fcatcode;
document.getElementById("T11").value = persdata[0].fmarstatus;
$("#TDISABILITY").hide();
$("#PDISABILITY").hide();
if(persdata[0].fph == 'T')
{
document.getElementById("T12").checked = true;
document.getElementById("T14").value = persdata[0].fphtype;
document.getElementById("T15").value = persdata[0].fphper;
$("#TDISABILITY").show();
$("#PDISABILITY").show();
}
else
document.getElementById("T13").checked = true;
document.getElementById("T16").value = persdata[0].fcomadd1;
document.getElementById("T17").value = persdata[0].fcomadd2;
document.getElementById("T18").value = persdata[0].fcomadd3;
document.getElementById("T19").value = persdata[0].fcomadd4;
document.getElementById("T20").value = persdata[0].fperadd1;
document.getElementById("T21").value = persdata[0].fperadd2;
document.getElementById("T22").value = persdata[0].fperadd3;
document.getElementById("T23").value = persdata[0].fperadd4;
document.getElementById("T24").value = persdata[0].femailid;
document.getElementById("T25").value = persdata[0].fphone;
document.getElementById("T26").value = persdata[0].fmobile;
var respdata = responce.data.langdet;
for(var j=0;j<respdata.length; j++)
{
addlanguagesdet(responce.data.langdet);
}
}
}
});
}
function loadOrientationDetails()
{
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadOrientationDetails',
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$("#orientationprgms tbody").remove();
document.getElementById("ctab_orient").className = "vsuccess";
var respdata = responce.data;
for(var j=0;j<respdata.length; j++)
{
addorientationdet(responce);
}
}
}
});
}
function loadResearchExpDetails()
{
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadResearchExpDetails',
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$("#researchexptable tbody").remove();
document.getElementById("ctab_resrch").className = "vsuccess";
var respdata = responce.data;
for(var j=0;j<respdata.length; j++)
{
addresearchexp(responce);
}
}
}
});
}
function loadOtherExpDetails()
{
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadOtherExpDetails',
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$("#researchexptable tbody").remove();
document.getElementById("ctab_resrch").className = "vsuccess";
var respdata = responce.data;
for(var j=0;j<respdata.length; j++)
{
addresearchexp(responce);
}
}
}
});
}
|