Show and hide Panel on load and click on checkbox

  Step1: Create one .js file in root /var/www/crm/*.js   function display() {//alert('l'); document.getElementById('LBL_PANEL5').style.display = 'none'; document.getElementById('LBL_PANEL2').style.display = 'none'; document.getElementById('LBL_PANEL3').style.display = 'none'; //var f = document.getElementById('feedback_test_drive_c').value; //var fn = document.getElementById('finance_c').value;   if((document.getElementById('feedback_test_drive_c').checked == true )&&( document.getElementById('finance_c').checked == true )) { document.getElementById('LBL_PANEL2').style.display = 'block'; document.getElementById('LBL_PANEL3').style.display = 'block'; } else if((document.getElementById('feedback_test_drive_c').checked == true )&&( document.getElementById('finance_c').checked == false…
Read more


March 20, 2018 0