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 : 13.58.103.70
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++)
{
/* var post = document.getElementById('1S1').value;
var subject = document.getElementById('1S2').value;
document.getElementById('postdata').value = 'Application for "'+post+'" in Department of "'+subject+'"'; */
addpostdet(responce);
}
}else
{
loadhomedropdown();
/* var post = document.getelementbyid('1s1').value;
var subject = document.getelementbyid('1s2').value;
document.getelementbyid('postdata').value = 'application for "'+post+'" in department of "'+subject+'"'; */
}
}
});
}
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()
{
//
$("#page_main_page").load('html_modules/academic_det.html?v=25092015',function()
{
loaddegree();
$('#bed').hide();
$('#med').hide();
var appno = document.getElementById('appno').value;
var subject = document.getElementById("post_subject").value;
if(subject == 'Education 1-GM-1(Others)' || subject == 'Education 1-II A-1(Others)')
{
$('#bed').show();
$('#med').show();
}else
{
$('#bed').hide();
$('#med').hide();
}
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadEducationalDetails',
data: "&appno="+appno,
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
$("#othdegree tbody").remove();
$("#othdegree").append(responce.data.table);
var qualdata = responce.data.qualdetl;
if(qualdata[0].fenttype == '10th')
{
var qualdata = responce.data.qualdetl;
document.getElementById("T28").value = qualdata[0].funivname;
document.getElementById("T29").value = qualdata[0].fyear;
document.getElementById("T30").value = qualdata[0].fmaxmarks;
document.getElementById("T31").value = qualdata[0].fsecmarks;
document.getElementById("T32").value = qualdata[0].fpercentage;
document.getElementById("T33").value = qualdata[0].fdivision;
document.getElementById("T34").value = qualdata[0].fsubjects;
}
if(qualdata[1].fenttype == '12th')
{
document.getElementById("T35").value = qualdata[1].funivname;
document.getElementById("T36").value = qualdata[1].fyear;
document.getElementById("T37").value = qualdata[1].fmaxmarks;
document.getElementById("T38").value = qualdata[1].fsecmarks;
document.getElementById("T39").value = qualdata[1].fpercentage;
document.getElementById("T40").value = qualdata[1].fdivision;
document.getElementById("T41").value = qualdata[1].fsubjects;
}
if(qualdata[2].fenttype == 'bachelor')
{
document.getElementById("T42").value = qualdata[2].fdegree;
document.getElementById("T43").value = qualdata[2].funivname;
document.getElementById("T44").value = qualdata[2].fyear;
document.getElementById("T45").value = qualdata[2].fmaxmarks;
document.getElementById("T46").value = qualdata[2].fsecmarks;
document.getElementById("T47").value = qualdata[2].fpercentage;
document.getElementById("T48").value = qualdata[2].fdivision;
document.getElementById("T49").value = qualdata[2].fsubjects;
}
if(qualdata[3].fenttype == 'BEd')
{
document.getElementById("T200").value = qualdata[3].funivname;
document.getElementById("T201").value = qualdata[3].fyear;
document.getElementById("T202").value = qualdata[3].fmaxmarks;
document.getElementById("T203").value = qualdata[3].fsecmarks;
document.getElementById("T204").value = qualdata[3].fpercentage;
document.getElementById("T205").value = qualdata[3].fdivision;
document.getElementById("T206").value = qualdata[3].fsubjects;
}
if(qualdata[4].fenttype == 'masters')
{
document.getElementById("T50").value = qualdata[4].fdegree;
document.getElementById("T51").value = qualdata[4].funivname;
document.getElementById("T52").value = qualdata[4].fyear;
document.getElementById("T53").value = qualdata[4].fmaxmarks;
document.getElementById("T54").value = qualdata[4].fsecmarks;
document.getElementById("T55").value = qualdata[4].fpercentage;
document.getElementById("T56").value = qualdata[4].fdivision;
document.getElementById("T57").value = qualdata[4].fsubjects;
}
if(qualdata[5].fenttype == 'MEd')
{
document.getElementById("T207").value = qualdata[5].funivname;
document.getElementById("T208").value = qualdata[5].fyear;
document.getElementById("T209").value = qualdata[5].fmaxmarks;
document.getElementById("T210").value = qualdata[5].fsecmarks;
document.getElementById("T211").value = qualdata[5].fpercentage;
document.getElementById("T212").value = qualdata[5].fdivision;
document.getElementById("T213").value = qualdata[5].fsubjects;
}
var phddata = responce.data.phddetl;
if(phddata[0].fenttype == 'mphil')
{
document.getElementById("T58").value = phddata[0].fdor;
document.getElementById("T59").value = phddata[0].fdos;
document.getElementById("T60").value = phddata[0].fdoa;
document.getElementById("T61").value = phddata[0].funivname;
document.getElementById("T62").value = phddata[0].ftitle;
document.getElementById("T63").value = phddata[0].fpercent;
}
if(phddata[1].fenttype == 'phd')
{
document.getElementById("T64").value = phddata[1].fdor;
document.getElementById("T65").value = phddata[1].fdos;
document.getElementById("T66").value = phddata[1].fdoa;
document.getElementById("T67").value = phddata[1].funivname;
document.getElementById("T68").value = phddata[1].ftitle;
document.getElementById("T69").value = phddata[1].fpercent;
}
/* if(phddata[1].fenttype == 'oth')
{
document.getElementById("T70").value = phddata[1].fdegree;
document.getElementById("T71").value = phddata[1].fdoa;
document.getElementById("T72").value = phddata[1].funivname;
document.getElementById("T73").value = phddata[1].fpercent;
} */
var perdata = responce.data.perdetl;
document.getElementById("T74").value = perdata[0].fjrfsub;
document.getElementById("T75").value = perdata[0].fjrfcertno;
document.getElementById("T76").value = perdata[0].fjrfpassmth; //fjrstate
document.getElementById("T83").value = perdata[0].fjrstate; //
document.getElementById("T77").value = perdata[0].fnetsub;
document.getElementById("T78").value = perdata[0].fnetcertno;
document.getElementById("T79").value = perdata[0].fnetpassmth;
document.getElementById("T84").value = perdata[0].fnetstate;
document.getElementById("T80").value = perdata[0].fsletsub;
document.getElementById("T81").value = perdata[0].fsletcertno;
document.getElementById("T82").value = perdata[0].fsletpassmth;
document.getElementById("T85").value = perdata[0].fsletstate;
document.getElementById("T501").value = perdata[0].fpdfsub;
document.getElementById("T502").value = perdata[0].fpdfcertno;
document.getElementById("T503").value = perdata[0].fpdfpassmth;
document.getElementById("T504").value = perdata[0].fpdfstate;
}
}
});
});
}
function loaddegree()
{
$.ajax({
type: "POST",
async:false,
url:$host_url+'getdegree',
success: function getcatcoderesponce(responce)
{
responce = eval('(' + responce + ')');
//document.getElementById("T42").options.length = 0;
var UG =responce.data['UG'];
$op = new Option("Select Degree",0);
$op.id=0;//specifying the id for options
document.getElementById("T42").options.add($op)
for($i=0;$i < UG.length;$i++)
{
$op = new Option(UG[$i]['value'], UG[$i]['internal_code']);
$op.id=UG[$i]['internal_code'];//specifying the id for options
document.getElementById("T42").options.add($op);
}
document.getElementById("T50").options.length = 0;
var PG = responce.data['PG'];
$op = new Option("Select Master Degree",0);
$op.id=0;//specifying the id for options
document.getElementById("T50").options.add($op)
for($i=0;$i < PG.length;$i++)
{
$op = new Option(PG[$i]['value'], PG[$i]['internal_code']);
$op.id=PG[$i]['internal_code'];//specifying the id for options
document.getElementById("T50").options.add($op);
}
document.getElementById("T90").options.length = 0;
var deg = responce.data['deg'];
$op = new Option("--Select--",0);
$op.id=0;//specifying the id for options
document.getElementById("T90").options.add($op)
for($i=0;$i < deg.length;$i++)
{
$op = new Option(deg[$i]['value'], deg[$i]['internal_code']);
$op.id=deg[$i]['internal_code'];//specifying the id for options
document.getElementById("T90").options.add($op);
}
}
});
}
function loadresearch2()
{
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadresearch2',
success: function getcatcoderesponce(responce)
{
responce = eval('(' + responce + ')');
document.getElementById("1RC1").options.length = 1;
var RC01 =responce.data['RC01'];
$op = new Option("--Select--",0);
$op.id=0;//specifying the id for options
document.getElementById("1RC1").options.add($op);
document.getElementById("1RC8").options.length = 1;
document.getElementById("1RC8").options.add($op);
document.getElementById("1RC11").options.length = 1;
document.getElementById("1RC11").options.add($op);
document.getElementById("1RC18").options.length = 1;
document.getElementById("1RC18").options.add($op);
document.getElementById("1RC20").options.length = 1;
document.getElementById("1RC20").options.add($op);
//document.getElementById("1RC27").options.length = 1;
//document.getElementById("1RC27").options.add($op);
document.getElementById("1RC29").options.length = 1;
document.getElementById("1RC29").options.add($op);
document.getElementById("1RC31").options.length = 1;
document.getElementById("1RC31").options.add($op);
document.getElementById("1RC37").options.length = 1;
document.getElementById("1RC37").options.add($op);
//document.getElementById("1RC46").options.length = 1;
//document.getElementById("1RC46").options.add($op);
document.getElementById("1RC50").options.length = 1;
document.getElementById("1RC50").options.add($op);
document.getElementById("1RC55").options.length = 1;
document.getElementById("1RC55").options.add($op);
document.getElementById("1RC56").options.length = 1;
document.getElementById("1RC56").options.add($op);
document.getElementById("1RC62").options.length = 1;
document.getElementById("1RC62").options.add($op);
document.getElementById("1RC63").options.length = 1;
document.getElementById("1RC63").options.add($op);
for($i=0;$i < RC01.length;$i++)
{
$op = new Option(RC01[$i]['value'], RC01[$i]['internal_code']);
$op.id=RC01[$i]['internal_code'];//specifying the id for options
if(RC01[$i]['fscreen'] == 'RC201')
document.getElementById("1RC1").options.add($op);
if(RC01[$i]['fscreen'] == 'RC202')
document.getElementById("1RC8").options.add($op);
if(RC01[$i]['fscreen'] == 'RC204')
document.getElementById("1RC11").options.add($op);
if(RC01[$i]['fscreen'] == 'RC205')
document.getElementById("1RC18").options.add($op);
if(RC01[$i]['fscreen'] == 'RC206')
document.getElementById("1RC20").options.add($op);
//if(RC01[$i]['fscreen'] == 'RC207')
//document.getElementById("1RC27").options.add($op);
if(RC01[$i]['fscreen'] == 'RC208')
document.getElementById("1RC29").options.add($op);
if(RC01[$i]['fscreen'] == 'RC209')
document.getElementById("1RC31").options.add($op);
if(RC01[$i]['fscreen'] == 'RC210')
document.getElementById("1RC37").options.add($op);
//if(RC01[$i]['fscreen'] == 'RC211')
//document.getElementById("1RC46").options.add($op);
if(RC01[$i]['fscreen'] == 'RC212')
document.getElementById("1RC50").options.add($op);
if(RC01[$i]['fscreen'] == 'RC213')
document.getElementById("1RC55").options.add($op);
if(RC01[$i]['fscreen'] == 'RC214')
document.getElementById("1RC56").options.add($op);
if(RC01[$i]['fscreen'] == 'RC215')
document.getElementById("1RC62").options.add($op);
if(RC01[$i]['fscreen'] == 'RC216')
document.getElementById("1RC63").options.add($op);
}
document.getElementById("1RC9").options.length = 1;
var RC08 =responce.data['RC08'];
$op = new Option("--Select--",0);
$op.id=0;//specifying the id for options
document.getElementById("1RC9").options.add($op)
for($i=0;$i < RC08.length;$i++)
{
$op = new Option(RC08[$i]['value'], RC08[$i]['internal_code']);
$op.id=RC08[$i]['internal_code'];//specifying the id for options
document.getElementById("1RC9").options.add($op);
}
// document.getElementById("1RA8").options.length = 0;
// var RC02 =responce.data['RC02'];
// $op = new Option("Select",0);
// $op.id=0;//specifying the id for options
// document.getElementById("1RA8").options.add($op)
// for($i=0;$i < RC02.length;$i++)
// {
// $op = new Option(RC02[$i]['value'], RC02[$i]['internal_code']);
// $op.id=RC02[$i]['internal_code'];//specifying the id for options
// document.getElementById("1RA8").options.add($op);
// }
// document.getElementById("1RA12").options.length = 0;
// var RC03 =responce.data['RC03'];
// $op = new Option("Select",0);
// $op.id=0;//specifying the id for options
// document.getElementById("1RA12").options.add($op)
// for($i=0;$i < RC03.length;$i++)
// {
// $op = new Option(RC03[$i]['value'], RC03[$i]['internal_code']);
// $op.id=RC03[$i]['internal_code'];//specifying the id for options
// document.getElementById("1RA12").options.add($op);
// }
// document.getElementById("1RA19").options.length = 0;
// var RC04 =responce.data['RC04'];
// $op = new Option("Select",0);
// $op.id=0;//specifying the id for options
// document.getElementById("1RA19").options.add($op)
// for($i=0;$i < RC04.length;$i++)
// {
// $op = new Option(RC04[$i]['value'], RC04[$i]['internal_code']);
// $op.id=RC04[$i]['internal_code'];//specifying the id for options
// document.getElementById("1RA19").options.add($op);
// }
// document.getElementById("1RA23").options.length = 0;
// var RC05 =responce.data['RC05'];
// $op = new Option("Select",0);
// $op.id=0;//specifying the id for options
// document.getElementById("1RA23").options.add($op)
// for($i=0;$i < RC05.length;$i++)
// {
// $op = new Option(RC05[$i]['value'], RC05[$i]['internal_code']);
// $op.id=RC05[$i]['internal_code'];//specifying the id for options
// document.getElementById("1RA23").options.add($op);
// }
// document.getElementById("1RA26").options.length = 0;
// var RC06 =responce.data['RC06'];
// $op = new Option("Select",0);
// $op.id=0;//specifying the id for options
// document.getElementById("1RA26").options.add($op)
// for($i=0;$i < RC06.length;$i++)
// {
// $op = new Option(RC06[$i]['value'], RC06[$i]['internal_code']);
// $op.id=RC06[$i]['internal_code'];//specifying the id for options
// document.getElementById("1RA26").options.add($op);
// }
// document.getElementById("1RA29").options.length = 0;
// var RC07 =responce.data['RC07'];
// $op = new Option("Select",0);
// $op.id=0;//specifying the id for options
// document.getElementById("1RA29").options.add($op)
// for($i=0;$i < RC07.length;$i++)
// {
// $op = new Option(RC07[$i]['value'], RC07[$i]['internal_code']);
// $op.id=RC07[$i]['internal_code'];//specifying the id for options
// document.getElementById("1RA29").options.add($op);
// }
// document.getElementById("1RA32").options.length = 0;
// var RC08 =responce.data['RC08'];
// $op = new Option("Select",0);
// $op.id=0;//specifying the id for options
// document.getElementById("1RA32").options.add($op)
// for($i=0;$i < RC08.length;$i++)
// {
// $op = new Option(RC08[$i]['value'], RC08[$i]['internal_code']);
// $op.id=RC08[$i]['internal_code'];//specifying the id for options
// document.getElementById("1RA32").options.add($op);
// }
// document.getElementById("1RA35").options.length = 0;
// var RC09 =responce.data['RC09'];
// $op = new Option("Select",0);
// $op.id=0;//specifying the id for options
// document.getElementById("1RA35").options.add($op)
// for($i=0;$i < RC09.length;$i++)
// {
// $op = new Option(RC09[$i]['value'], RC09[$i]['internal_code']);
// $op.id=RC09[$i]['internal_code'];//specifying the id for options
// document.getElementById("1RA35").options.add($op);
// }
// document.getElementById("1RA38").options.length = 0;
// var RC10 =responce.data['RC10'];
// $op = new Option("Select",0);
// $op.id=0;//specifying the id for options
// document.getElementById("1RA38").options.add($op)
// for($i=0;$i < RC10.length;$i++)
// {
// $op = new Option(RC10[$i]['value'], RC10[$i]['internal_code']);
// $op.id=RC10[$i]['internal_code'];//specifying the id for options
// document.getElementById("1RA38").options.add($op);
// }
}
});
}
function loadresearch()
{
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadresearch',
success: function getcatcoderesponce(responce)
{
responce = eval('(' + responce + ')');
document.getElementById("1RA1").options.length = 0;
var RC01 =responce.data['RC01'];
$op = new Option("--Select--",0);
$op.id=0;//specifying the id for options
document.getElementById("1RA1").options.add($op)
for($i=0;$i < RC01.length;$i++)
{
$op = new Option(RC01[$i]['value'], RC01[$i]['internal_code']);
$op.id=RC01[$i]['internal_code'];//specifying the id for options
document.getElementById("1RA1").options.add($op);
}
document.getElementById("1RA8").options.length = 0;
var RC02 =responce.data['RC02'];
$op = new Option("--Select--",0);
$op.id=0;//specifying the id for options
document.getElementById("1RA8").options.add($op)
for($i=0;$i < RC02.length;$i++)
{
$op = new Option(RC02[$i]['value'], RC02[$i]['internal_code']);
$op.id=RC02[$i]['internal_code'];//specifying the id for options
document.getElementById("1RA8").options.add($op);
}
document.getElementById("1RA11").options.length = 0;
var RC03 =responce.data['RC03'];
$op = new Option("--Select--",0);
$op.id=0;//specifying the id for options
document.getElementById("1RA11").options.add($op)
for($i=0;$i < RC03.length;$i++)
{
$op = new Option(RC03[$i]['value'], RC03[$i]['internal_code']);
$op.id=RC03[$i]['internal_code'];//specifying the id for options
document.getElementById("1RA11").options.add($op);
}
document.getElementById("1RA18").options.length = 0;
var RC04 =responce.data['RC04'];
$op = new Option("--Select--",0);
$op.id=0;//specifying the id for options
document.getElementById("1RA18").options.add($op)
for($i=0;$i < RC04.length;$i++)
{
$op = new Option(RC04[$i]['value'], RC04[$i]['internal_code']);
$op.id=RC04[$i]['internal_code'];//specifying the id for options
document.getElementById("1RA18").options.add($op);
}
document.getElementById("1RA20").options.length = 0;
var RC05 =responce.data['RC05'];
$op = new Option("--Select--",0);
$op.id=0;//specifying the id for options
document.getElementById("1RA20").options.add($op)
for($i=0;$i < RC05.length;$i++)
{
$op = new Option(RC05[$i]['value'], RC05[$i]['internal_code']);
$op.id=RC05[$i]['internal_code'];//specifying the id for options
document.getElementById("1RA20").options.add($op);
}
/*document.getElementById("1RA27").options.length = 0;
var RC06 =responce.data['RC06'];
$op = new Option("Select",0);
$op.id=0;//specifying the id for options
document.getElementById("1RA27").options.add($op)
for($i=0;$i < RC06.length;$i++)
{
$op = new Option(RC06[$i]['value'], RC06[$i]['internal_code']);
$op.id=RC06[$i]['internal_code'];//specifying the id for options
document.getElementById("1RA27").options.add($op);
}
*/
document.getElementById("1RA29").options.length = 0;
var RC07 =responce.data['RC07'];
$op = new Option("--Select--",0);
$op.id=0;//specifying the id for options
document.getElementById("1RA29").options.add($op)
for($i=0;$i < RC07.length;$i++)
{
$op = new Option(RC07[$i]['value'], RC07[$i]['internal_code']);
$op.id=RC07[$i]['internal_code'];//specifying the id for options
document.getElementById("1RA29").options.add($op);
}
// document.getElementById("1RA9").options.length = 0;
var RC08 =responce.data['RC08'];
$op = new Option("--Select--",0);
$op.id=0;//specifying the id for options
//document.getElementById("1RA9").options.add($op)
for($i=0;$i < RC08.length;$i++)
{
$op = new Option(RC08[$i]['value'], RC08[$i]['internal_code']);
$op.id=RC08[$i]['internal_code'];//specifying the id for options
//document.getElementById("1RA9").options.add($op);
}
}
});
}
function loadExperienceDetails()
{
$("#page_main_page").load('html_modules/experience_det.html',function()
{
var appno = document.getElementById('appno').value;
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadExperienceDetails',
data: "&appno="+appno,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$("#fulltimeexptable tbody").remove();
$("#fulltimeexptable").append(responce.data.table);
$("#fulltimephdexptable tbody").remove();
$("#fulltimephdexptable").append(responce.data.table2);
var present = responce.data.table3;
if(responce.data.table3.funivname == undefined)
var funivname = '';
else
var funivname = responce.data.table3.funivname;
if(responce.data.table3.fdegncode == undefined)
var fdegncode = '';
else
var fdegncode = responce.data.table3.fdegncode;
document.getElementById('1BT18').value = funivname;
document.getElementById('1BT19').value = fdegncode;
//document.getElementById('1BT20').value = responce.data.table3.ffromdate;
if(responce.data.table3.ffromdate == undefined)
document.getElementById('1BT20').placeholder = 'DD/MM/YYYY';
else
document.getElementById('1BT20').value = responce.data.table3.ffromdate;
if(responce.data.table3.ffromdate == undefined)
document.getElementById('1BT20').placeholder = '';
else
document.getElementById('1BT21').value = responce.data.table3.fstatus;
}
}
});
});
}
function loadResearchDetails()
{
if(document.getElementById('post_id').value == 'ASSISTANT PROFESSOR_OLD')
{
$("#page_main_page").load('html_modules/research_det.html?v=28092017',function()
{
loadresearch();
var appno = document.getElementById('appno').value;
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadresearchdetails',
data: "&appno="+appno,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$("#researchpaperatable tbody").remove();
$("#researchpaperatable").append(responce.data.table);
$("#researchpaperatableb tbody").remove();
$("#researchpaperatableb").append(responce.data.table2);
$("#researchpaperatablec tbody").remove();
$("#researchpaperatablec").append(responce.data.table3);
}
}
});
});
}
else if(document.getElementById('post_id').value == 'ASSISTANT PROFESSOR' )
{
$("#page_main_page").load('html_modules/research_det_asst_prof.html?v=13102047',function()
{
loadresearch2();
var appno = document.getElementById('appno').value;
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadresearchassoprodetails',
data: "&appno="+appno,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$("#researchassociatetable tbody").remove();
$("#researchassociatetable").append(responce.data.table);
$("#researchassociatetablea tbody").remove();
$("#researchassociatetablea").append(responce.data.table2);
$("#researchassociatetableb tbody").remove();
$("#researchassociatetableb").append(responce.data.table3);
$("#researchassociatetablec tbody").remove();
$("#researchassociatetablec").append(responce.data.table4);
$("#researchassociatetabled tbody").remove();
$("#researchassociatetabled").append(responce.data.table5);
$("#researchassociatetablee tbody").remove();
$("#researchassociatetablee").append(responce.data.table6);
$("#researchassociatetablef tbody").remove();
$("#researchassociatetablef").append(responce.data.table7);
$("#researchassociatetableg tbody").remove();
$("#researchassociatetableg").append(responce.data.table8);
$("#researchassociatetableh tbody").remove();
$("#researchassociatetableh").append(responce.data.table9);
$("#researchassociatetablei tbody").remove();
$("#researchassociatetablei").append(responce.data.table10);
$("#researchassociatetablej tbody").remove();
$("#researchassociatetablej").append(responce.data.table11);
var tleactdata = responce.data.tleact;
document.getElementById("T512").value = responce.data.table13.fselfscore;
document.getElementById("T524").value = responce.data.table14.fselfscore;
document.getElementById("T501").value = tleactdata[0].fmaxscore;
document.getElementById("T502").value = tleactdata[0].fspent;
document.getElementById("T503").value = tleactdata[0].fselfscore;
document.getElementById("T504").value = tleactdata[1].fmaxscore;
document.getElementById("T505").value = tleactdata[1].fspent;
document.getElementById("T506").value = tleactdata[1].fselfscore;
document.getElementById("T507").value = tleactdata[2].fmaxscore;
document.getElementById("T508").value = tleactdata[2].fspent;
document.getElementById("T509").value = tleactdata[2].fselfscore;
document.getElementById("T513").value = tleactdata[3].fmaxscore;
document.getElementById("T514").value = tleactdata[3].fspent;
document.getElementById("T515").value = tleactdata[3].fselfscore;
document.getElementById("T516").value = tleactdata[4].fmaxscore;
document.getElementById("T517").value = tleactdata[4].fspent;
document.getElementById("T518").value = tleactdata[4].fselfscore;
document.getElementById("T519").value = tleactdata[5].fmaxscore;
document.getElementById("T520").value = tleactdata[5].fspent;
document.getElementById("T521").value = tleactdata[5].fselfscore;
}
}
});
});
}
else if(document.getElementById('post_id').value == 'ASSOCIATE PROFESSOR')
{
$("#page_main_page").load('html_modules/research_det_2.html?v=13102047',function()
{
loadresearch2();
var appno = document.getElementById('appno').value;
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadresearchassoprodetails',
data: "&appno="+appno,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
/* var tleactdata = responce.data.tleact;
document.getElementById("T512").value = responce.data.table13.fselfscore;
document.getElementById("T524").value = responce.data.table14.fselfscore;
document.getElementById("T501").value = tleactdata[0].fmaxscore;
document.getElementById("T502").value = tleactdata[0].fspent;
document.getElementById("T503").value = tleactdata[0].fselfscore;
document.getElementById("T504").value = tleactdata[1].fmaxscore;
document.getElementById("T505").value = tleactdata[1].fspent;
document.getElementById("T506").value = tleactdata[1].fselfscore;
document.getElementById("T507").value = tleactdata[2].fmaxscore;
document.getElementById("T508").value = tleactdata[2].fspent;
document.getElementById("T509").value = tleactdata[2].fselfscore;
document.getElementById("T513").value = tleactdata[3].fmaxscore;
document.getElementById("T514").value = tleactdata[3].fspent;
document.getElementById("T515").value = tleactdata[3].fselfscore;
document.getElementById("T516").value = tleactdata[4].fmaxscore;
document.getElementById("T517").value = tleactdata[4].fspent;
document.getElementById("T518").value = tleactdata[4].fselfscore;
document.getElementById("T519").value = tleactdata[5].fmaxscore;
document.getElementById("T520").value = tleactdata[5].fspent;
document.getElementById("T521").value = tleactdata[5].fselfscore; */
$("#researchassociatetable tbody").remove();
$("#researchassociatetable").append(responce.data.table);
$("#researchassociatetablea tbody").remove();
$("#researchassociatetablea").append(responce.data.table2);
$("#researchassociatetableb tbody").remove();
$("#researchassociatetableb").append(responce.data.table3);
$("#researchassociatetablec tbody").remove();
$("#researchassociatetablec").append(responce.data.table4);
$("#researchassociatetabled tbody").remove();
$("#researchassociatetabled").append(responce.data.table5);
$("#researchassociatetablee tbody").remove();
$("#researchassociatetablee").append(responce.data.table6);
$("#researchassociatetablef tbody").remove();
$("#researchassociatetablef").append(responce.data.table7);
$("#researchassociatetableg tbody").remove();
$("#researchassociatetableg").append(responce.data.table8);
$("#researchassociatetableh tbody").remove();
$("#researchassociatetableh").append(responce.data.table9);
$("#researchassociatetablei tbody").remove();
$("#researchassociatetablei").append(responce.data.table10);
$("#researchassociatetablej tbody").remove();
$("#researchassociatetablej").append(responce.data.table11);
var tleactdata = responce.data.tleact;
document.getElementById("T512").value = responce.data.table13.fselfscore;
document.getElementById("T524").value = responce.data.table14.fselfscore;
document.getElementById("T501").value = tleactdata[0].fmaxscore;
document.getElementById("T502").value = tleactdata[0].fspent;
document.getElementById("T503").value = tleactdata[0].fselfscore;
document.getElementById("T504").value = tleactdata[1].fmaxscore;
document.getElementById("T505").value = tleactdata[1].fspent;
document.getElementById("T506").value = tleactdata[1].fselfscore;
document.getElementById("T507").value = tleactdata[2].fmaxscore;
document.getElementById("T508").value = tleactdata[2].fspent;
document.getElementById("T509").value = tleactdata[2].fselfscore;
document.getElementById("T513").value = tleactdata[3].fmaxscore;
document.getElementById("T514").value = tleactdata[3].fspent;
document.getElementById("T515").value = tleactdata[3].fselfscore;
document.getElementById("T516").value = tleactdata[4].fmaxscore;
document.getElementById("T517").value = tleactdata[4].fspent;
document.getElementById("T518").value = tleactdata[4].fselfscore;
document.getElementById("T519").value = tleactdata[5].fmaxscore;
document.getElementById("T520").value = tleactdata[5].fspent;
document.getElementById("T521").value = tleactdata[5].fselfscore;
}
}
});
});
}
else if(document.getElementById('post_id').value == 'PROFESSOR')
{
$("#page_main_page").load('html_modules/research_det_2.html?13102047',function()
{
loadresearch2();
document.getElementById("T501").value = 60;
document.getElementById("T504").value = 10;
document.getElementById("T507").value = 20;
loadresearch2();
var appno = document.getElementById('appno').value;
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadresearchassoprodetails',
data: "&appno="+appno,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
/* var tleactdata = responce.data.tleact;
document.getElementById("T512").value = responce.data.table13;
document.getElementById("T524").value = responce.data.table14;
document.getElementById("T501").value = tleactdata[0].fmaxscore;
document.getElementById("T502").value = tleactdata[0].fspent;
document.getElementById("T503").value = tleactdata[0].fselfscore;
document.getElementById("T504").value = tleactdata[1].fmaxscore;
document.getElementById("T505").value = tleactdata[1].fspent;
document.getElementById("T506").value = tleactdata[1].fselfscore;
document.getElementById("T507").value = tleactdata[2].fmaxscore;
document.getElementById("T508").value = tleactdata[2].fspent;
document.getElementById("T509").value = tleactdata[2].fselfscore;
document.getElementById("T513").value = tleactdata[3].fmaxscore;
document.getElementById("T514").value = tleactdata[3].fspent;
document.getElementById("T515").value = tleactdata[3].fselfscore;
document.getElementById("T516").value = tleactdata[4].fmaxscore;
document.getElementById("T517").value = tleactdata[4].fspent;
document.getElementById("T518").value = tleactdata[4].fselfscore;
document.getElementById("T519").value = tleactdata[5].fmaxscore;
document.getElementById("T520").value = tleactdata[5].fspent;
document.getElementById("T521").value = tleactdata[5].fselfscore; */
$("#researchassociatetable tbody").remove();
$("#researchassociatetable").append(responce.data.table);
$("#researchassociatetablea tbody").remove();
$("#researchassociatetablea").append(responce.data.table2);
$("#researchassociatetableb tbody").remove();
$("#researchassociatetableb").append(responce.data.table3);
$("#researchassociatetablec tbody").remove();
$("#researchassociatetablec").append(responce.data.table4);
$("#researchassociatetabled tbody").remove();
$("#researchassociatetabled").append(responce.data.table5);
$("#researchassociatetablee tbody").remove();
$("#researchassociatetablee").append(responce.data.table6);
$("#researchassociatetablef tbody").remove();
$("#researchassociatetablef").append(responce.data.table7);
$("#researchassociatetableg tbody").remove();
$("#researchassociatetableg").append(responce.data.table8);
$("#researchassociatetableh tbody").remove();
$("#researchassociatetableh").append(responce.data.table9);
$("#researchassociatetablei tbody").remove();
$("#researchassociatetablei").append(responce.data.table10);
$("#researchassociatetablej tbody").remove();
$("#researchassociatetablej").append(responce.data.table11);
var tleactdata = responce.data.tleact;
document.getElementById("T512").value = responce.data.table13;
document.getElementById("T524").value = responce.data.table14;
document.getElementById("T501").value = tleactdata[0].fmaxscore;
document.getElementById("T502").value = tleactdata[0].fspent;
document.getElementById("T503").value = tleactdata[0].fselfscore;
document.getElementById("T504").value = tleactdata[1].fmaxscore;
document.getElementById("T505").value = tleactdata[1].fspent;
document.getElementById("T506").value = tleactdata[1].fselfscore;
document.getElementById("T507").value = tleactdata[2].fmaxscore;
document.getElementById("T508").value = tleactdata[2].fspent;
document.getElementById("T509").value = tleactdata[2].fselfscore;
document.getElementById("T513").value = tleactdata[3].fmaxscore;
document.getElementById("T514").value = tleactdata[3].fspent;
document.getElementById("T515").value = tleactdata[3].fselfscore;
document.getElementById("T516").value = tleactdata[4].fmaxscore;
document.getElementById("T517").value = tleactdata[4].fspent;
document.getElementById("T518").value = tleactdata[4].fselfscore;
document.getElementById("T519").value = tleactdata[5].fmaxscore;
document.getElementById("T520").value = tleactdata[5].fspent;
document.getElementById("T521").value = tleactdata[5].fselfscore;
}
}
});
});
}
}
function loadCurricularDetails()
{
$("#page_main_page").load('html_modules/curricular_det.html',function()
{
var appno = document.getElementById('appno').value;
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadCurricularDetails',
data:"&appno="+appno,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
//document.getElementById("ctab_curricular").className = "vsuccess";
document.getElementById("1CA1").value = responce.data.FCURRICULAR;
document.getElementById("1CA2").value = responce.data.FCOCURRICULAR;
document.getElementById("1CA3").value = responce.data.FWORKSHOPS;
}
}
});
});
}
function loadOtherDetails()
{
$("#page_main_page").load('html_modules/other_det.html?v=25092015',function()
{
$('#OD30').hide();
$('#OD31').hide();
$('#OD32').hide();
var appno = document.getElementById('appno').value;
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadotherdetails',
data:"&appno="+appno,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
//document.getElementById("ctab_other").className = "vsuccess";
if(responce.data.FLANTEACH == 'English')
document.getElementById("OD1").checked = true;
else if(responce.data.FLANTEACH == 'Hindi')
document.getElementById("OD2").checked = true;
else
document.getElementById("OD3").checked = true;
var joindate = responce.data.FJOINDATE.split('-');
document.getElementById("OD4").value = joindate[0];
document.getElementById("OD5").value = joindate[1];
document.getElementById("OD6").value = joindate[2];
if(responce.data.FPUNISHEDGC == 'NO')
document.getElementById("OD7").checked = true;
else
{
document.getElementById("OD8").checked = true;
$('#OD30').show();
document.getElementById("OD30").value = responce.data.FPUNISHEDNAME;
}
if(responce.data.FUNFIT == 'NO')
document.getElementById("OD9").checked = true;
else
{
document.getElementById("OD10").checked = true;
$('#OD31').show();
document.getElementById("OD31").value = responce.data.FUNFITNAME;
}
if(responce.data.FCRIMINAL == 'NO')
document.getElementById("OD11").checked = true;
else
{
document.getElementById("OD12").checked = true;
$('#OD32').show();
document.getElementById("OD32").value = responce.data.FCRIMINALNAME;
}
document.getElementById("OD40").value = responce.data.FANYDET;
document.getElementById("OD14").value = responce.data.FREFNAME1;
document.getElementById("OD15").value = responce.data.FREFINST1;
document.getElementById("OD16").value = responce.data.FREFDESG1;
document.getElementById("OD17").value = responce.data.FREFADD1;
document.getElementById("OD18").value = responce.data.FREFMOBILE1;
document.getElementById("OD19").value = responce.data.FREFEMAIL1;
document.getElementById("OD21").value = responce.data.FREFNAME2;
document.getElementById("OD22").value = responce.data.FREFINST2;
document.getElementById("OD23").value = responce.data.FREFDESG2;
document.getElementById("OD24").value = responce.data.FREFADD2;
document.getElementById("OD25").value = responce.data.FREFMOBILE2;
document.getElementById("OD26").value = responce.data.FREFEMAIL2;
}
}
});
});
}
function getpunishedname(id1,id2)
{
if(document.getElementById(id1).checked == true)
$('#'+id2).show();
else
$('#'+id2).hide();
}
function loadUploadsDetails()
{
$("#page_main_page").load('html_modules/upload_det.html?v=10032017',function()
{
var appno = document.getElementById('appno').value;
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadUploadsDetails',
data:"&appno="+appno,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
uploaddata = responce.data.upload;
var dataarr1 = uploaddata[0].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[1].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[2].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[3].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[4].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[5].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[6].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[7].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[8].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[9].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[10].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[11].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[12].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[13].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[14].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[15].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[16].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[17].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[18].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[19].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[20].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[21].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
var dataarr1 = uploaddata[13].flink;
var a = dataarr1.split('*');
$data = "<a href = '"+a[1]+"' target = '_blank' >Click to view</a>";
document.getElementById('t'+a[0]).innerHTML = $data;
}
}
});
});
}
function loadDeclarationDetails()
{
$("#page_main_page").load('html_modules/declaration_det.html?22092017',function()
{
});
}
function loadPreviewDetails()
{
$("#page_main_page").load('html_modules/preview_det.html',function()
{
var appno = document.getElementById('appno').value;
var postname = document.getElementById('post_id').value;
var post_subject = document.getElementById('post_subject').value;
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadPreviewDetails',
data:"&appno="+appno+"&postname="+postname+"&post_subject="+post_subject,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$("#preview_det").html(responce.data.table);
$("#preview_det").html(responce.data['table']);
}
}
});
});
}
function loadPaymentDetails()
{
$("#page_main_page").load('html_modules/payment_det.html',function()
{
var appno = document.getElementById('appno').value;
var postname = document.getElementById('post_id').value;
var post_subject = document.getElementById('post_subject').value;
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadPaymentDetails',
data:"&appno="+appno+"&postname="+postname+"&post_subject="+post_subject,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$('#payments_eror').hide();
$("#payment_det").html(responce.data.table);
$("#payment_det").html(responce.data['table']);
}else
{
$('#payments_eror').show();
$("#payment_eror").html(responce.data.table);
$("#payment_eror").html(responce.data['table']);
}
}
});
});
}
function loadPrintappDetails()
{
$("#page_main_page").load('html_modules/printapp_det.html',function()
{
});
}
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 loadtabs(tabid)
{
for(var j=1;j<10; j++)
{
$("#tab"+j).css("background-color","#1f618d");
}
$("#"+tabid).css("background-color","#333");
}
function loadPersonalDetails()
{
$("#page_main_page").load('html_modules/persnal_det.html?v=27092017',function()
{
$("#TDISABILITY").hide();
$("#PDISABILITY").hide();
postdeportment();
var appno = document.getElementById('appno').value;
$.ajax({
type: "POST",
async:false,
url:$host_url+'loadPersonalDetails',
data:"&appno="+appno,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
$("#languageknowntable tbody").remove();
//document.getElementById("ctab_pers").className = "vsuccess";
document.getElementById("T24").value = responce.data.femail;
document.getElementById("T26").value = responce.data.fmobile;
document.getElementById("T26").disabled = true;
document.getElementById("T24").disabled = true;
var persdata = responce.data.perdet;
document.getElementById("T24").value = responce.data.femail;
document.getElementById("T26").value = responce.data.fmobile;
document.getElementById("T26").disabled = true;
document.getElementById("T24").disabled = true;
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;
document.getElementById("T90").value = persdata[0].faadhar;
$("#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;
if(persdata[0].fexservice == 'TRUE')
document.getElementById("T909").checked = true;
else
document.getElementById("T910").checked = true;
if(persdata[0].fkanmedium == 'TRUE')
document.getElementById("T901").checked = true;
else
document.getElementById("T902").checked = true;
/* if(persdata[0].fpd == 'TRUE')
document.getElementById("T905").checked = true;
else
document.getElementById("T906").checked = true;
*/
if(persdata[0].f371j == 'TRUE')
document.getElementById("T903").checked = true;
else
document.getElementById("T904").checked = true;
if(persdata[0].frural == 'TRUE')
document.getElementById("T907").checked = true;
else
document.getElementById("T908").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("T603").value = persdata[0].fpercity;
document.getElementById("T604").value = persdata[0].fperpincode;
document.getElementById("T601").value = persdata[0].fcomcity;
document.getElementById("T602").value = persdata[0].fcompincode;
//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);
}
}
}
});
}
function getsponseredop()
{
var faculty = document.getElementById('1RC31').value;
document.getElementById("1RC35").options.length = 0;
$op = new Option("--Select--",'');
document.getElementById("1RC35").options.add($op);
$op = new Option("1-3 Lakhs",'1-3LAKH');
document.getElementById("1RC35").options.add($op);
$op = new Option("3-5 Lakhs",'3-5LAKH');
document.getElementById("1RC35").options.add($op);
$op = new Option(">5 Lakhs",'>5LAKH');
document.getElementById("1RC35").options.add($op);
// if(faculty == '1035' || faculty == '1036')
// {
// document.getElementById("1RC35").options.length = 0;
// $op = new Option("--Select--",'');
// document.getElementById("1RC35").options.add($op);
// $op = new Option("1-5LAKH",'1-5LAKH');
// document.getElementById("1RC35").options.add($op);
// $op = new Option("5-30LAKH",'5-30LAKH');
// document.getElementById("1RC35").options.add($op);
// $op = new Option("Above 30 LAKH",'Above 30 LAKH');
// document.getElementById("1RC35").options.add($op);
// }
// if(faculty == '1037' || faculty == '1038' || faculty == '1039' || faculty == '1040' || faculty == '1041')
// {
// document.getElementById("1RC35").options.length = 0;
// $op = new Option("--Select--",'');
// document.getElementById("1RC35").options.add($op);
// $op = new Option("1-3LAKH",'1-3LAKH');
// document.getElementById("1RC35").options.add($op);
// $op = new Option("3-5LAKH",'3-5LAKH');
// document.getElementById("1RC35").options.add($op);
// $op = new Option(">5LAKH",'>5LAKH');
// document.getElementById("1RC35").options.add($op);
// }
}
function getsponseredop2()
{
var faculty = document.getElementById('1RC37').value;
document.getElementById("1RC41").options.length = 0;
$op = new Option("--Select--",'');
document.getElementById("1RC41").options.add($op);
$op = new Option("2 Lakhs and above",'>=2LAKH');
document.getElementById("1RC41").options.add($op);
}
function getlevel()
{
var faculty = document.getElementById('1RC43').value;
if(faculty == 'Patent / Technology Transfer / Product / Process')
{
document.getElementById("1RC46").options.length = 0;
$op = new Option("--Select--",'');
document.getElementById("1RC46").options.add($op);
$op = new Option("International",'International');
document.getElementById("1RC46").options.add($op);
$op = new Option("National",'National');
document.getElementById("1RC46").options.add($op);
}else if(faculty == 'Major Policy Document Prepared for International bodies like WHO / UNO / UNESCO / UNICEF ect. central / state / Govt. / Local Bodies')
{
document.getElementById("1RC46").options.length = 0;
$op = new Option("--Select--",'');
document.getElementById("1RC46").options.add($op);
$op = new Option("International Bodies",'International Bodies');
document.getElementById("1RC46").options.add($op);
$op = new Option("Central Government",'Central Government');
document.getElementById("1RC46").options.add($op);
$op = new Option("State Govt.",'State Govt.');
document.getElementById("1RC46").options.add($op);
$op = new Option("Local Bodies",'Local Bodies');
document.getElementById("1RC46").options.add($op);
}
}
|