function jobseditlkIN(e) { //alert("qui"); var target = find_target(e); if (!target) return; //Preleva ID del link cliccato (EDIT)... var clickid = target.id; var splittone = clickid.split("_"); var destino = "jobtr_" + splittone[1]; if (splittone[0] == "jobedit") { //Edit... var colore1 = "#eee"; } else if (splittone[0] == "jobdelete") { //Delete... var colore1 = "#ffc5cf"; } var esegui = document.getElementById(destino); esegui.style.backgroundColor = colore1; //alert(destino); } function jobseditlkOUT(e) { //alert("qui"); var target = find_target(e); if (!target) return; //Preleva ID del link cliccato (EDIT)... var clickid = target.id; var splittone = clickid.split("_"); var destino = "jobtr_" + splittone[1]; var esegui = document.getElementById(destino); if ((splittone[2] % 2) == 0) { esegui.style.backgroundColor = "#ebf1fa"; } else { esegui.style.backgroundColor = "#FFF"; } //alert(destino); } function checkjobinv(id) { var valore = document.getElementById(id).checked; var block1 = document.getElementById('jobinvtargetblock'); var block2 = document.getElementById('jobinvtargetbar'); if (valore) { block1.style.display = ""; block2.style.display = ""; } else { block1.style.display = "none"; block2.style.display = "none"; } } //For job feedback 1-20-2016... $(function() { $(".jobfeedexpdis").click(function() { if ($(this).val() > 2) { $("#experiencedetailscont").show(); } else { $("#experiencedetailscont").hide(); } }); $(".jobfeedrat").click(function() { if ($(this).val() == 1) { $("#ratingdetailscont").show(); } else { $("#ratingdetailscont").hide(); } }); });