add this in main.php file ------------------------------- add thse files if not exist ----------------------------------- diag_allo_code_search.php diagnosis_freehand.php diagnosismaster.php= diagnosismaster_2.php diagnosismaster_3.php diagnosismaster_backup.php diagnosismaster_event.php= diagnosismaster_function.php= diagnosismaster_ongoing.php= diagnosismaster_result.php= diagnosismaster_show.php= edit_event_search_dia.php edit_reopen_code_search.php edit_reopen_search.php export_excel_free3_csv.php export_excel_free3_user_csv.php y freedisplay_csv.php freehandreport_csv.php get_all_data_act_csv.php get_all_data_csv.php get_all_data_dep_csv.php get_all_data_loc_csv.php location_man_csv.php password_amdisplay.php password_amdisplay_up.php password_edit_wizard_code.php password_gen_wizard.php reopen_wizard_update.php userdetail-test_csv.php user-report-demo-design_csv.php add these function in main.php function diagnosismaster(){ $('#diagnosisshow').html('
'); var diagnosisvalue = $("#diagnosisvalue").val(); $.ajax( { url:'diagnosismaster_show.php', type:'POST', data: {diagnosisvalue:diagnosisvalue}, success: function(data) { $('#diagnosisshow').html(data); } }); } function comfirmDeletComp() { var inputz = $("#compid").val(); if(inputz !='') { $('#confirmDeltPopup').click(); }else{ $('#deleteResult').text('Enter Reference id').css("color", "red"); } } ---------------------------- add this to script.js ------------------ function amscript_pas() { var amvalue = document.getElementById('amvalue').value; document.getElementById('amshow').innerHTML =''; objReq.onreadystatechange = function() { if(objReq.readyState == 4) { //document.getElementById('md').style.display ='none'; document.getElementById('amshow').innerHTML = objReq.responseText; } } var url = 'password_amdisplay.php?amact='+amvalue; objReq.open('GET' , url , true); objReq.send(null); } function reopen_search(){ document.getElementById('edit_search').innerHTML =''; $.post( "edit_reopen_code_search.php", $('#createmd').serialize(), function(data) { $('#edit_search').html(data); } ); }