const personalInformation = document.getElementById('per_info'); const academicQualification = document.getElementById('aca_qua'); const about = document.getElementById('about'); const detailInfoDiv = document.getElementById('sms-teacher-info-details'); personalInformation.addEventListener('click', function(){ personalInformation.classList.add('sms-teacher-info-btn-active'); academicQualification.classList.remove('sms-teacher-info-btn-active'); about.classList.remove('sms-teacher-info-btn-active'); detailInfoDiv.innerHTML = `
| Name | ${teacher_name} |
| Employee Id | ${teacher_employee_id} |
| Designation | ${teacher_designation} |
| Joining Date | ${teacher_joining_date} |
| Teaching Subject | ${teacher_teaching_subject} |
| Address | ${teacher_address} |
| Phone | ${teacher_phone} |
| ${teacher_email} |