{"id":20900,"date":"2024-10-05T17:29:28","date_gmt":"2024-10-05T17:29:28","guid":{"rendered":"http:\/\/10.21.87.80\/?page_id=20900"},"modified":"2026-02-12T04:38:51","modified_gmt":"2026-02-12T04:38:51","slug":"ihi-dapatan-ihi-nasional-dan-ihi-self-assessment","status":"publish","type":"page","link":"https:\/\/jpp.mohr.gov.my\/en\/ihi-dapatan-ihi-nasional-dan-ihi-self-assessment\/","title":{"rendered":"IHI: Dapatan IHI Nasional dan IHI Self Assessment"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><div      class=\"vc_row wpb_row section vc_row-fluid  grid_section\" style=' padding-top:50px; padding-bottom:78px; text-align:left;'><div class=\"section_inner clearfix\"><div class='section_inner_margin clearfix'><div class=\"element_from_fade\"><div><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div      class=\"vc_row wpb_row section vc_row-fluid vc_inner\" style=' text-align:left;'><div class=\"full_section_inner clearfix\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\">\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<h1 style=\"text-align: left;\">List of National IHI Findings and IHI Self-Assessment<br \/>\ndan IHI Self Assessment<\/h1>\n\n\t\t<\/div> \n\t<\/div> \n\t<div class=\"wpb_text_column wpb_content_element\">\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<h4 style=\"font-size: 13px; font-weight: regular; text-align: left; color: #656565;\">** Some content is not available in BILINGUAL<\/h4>\n\n\t\t<\/div> \n\t<\/div> \t<div class=\"vc_empty_space\"  style=\"height: 32px\" ><span\n\t\t\tclass=\"vc_empty_space_inner\">\n\t\t\t<span class=\"empty_space_image\"  ><\/span>\n\t\t<\/span><\/div>\n\n<\/div><\/div><\/div><\/div><\/div><div      class=\"vc_row wpb_row section vc_row-fluid vc_inner\" style=' text-align:left;'><div class=\"full_section_inner clearfix\"><div class=\"wpb_column vc_column_container vc_col-sm-2\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><\/div><\/div><\/div><div class=\"wpb_column vc_column_container vc_col-sm-8\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_raw_code wpb_raw_html wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<input type=\"text\" id=\"myInput\" class=\"search-input\" onkeyup=\"searchTable()\" placeholder=\"Search\">\n<style>\n.search-input {\n  width: 20%;\n  font-size: 12px;\n  text-align: left;\n  margin-bottom: 12px;\n  padding-top: 5px;\n  padding-bottom: 5px;\n  border: 1px solid #ccc;\n  border-radius: 4px;\n  float: right; \/* Float the input to the right *\/\n}\n<\/style>\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><div class=\"wpb_column vc_column_container vc_col-sm-2\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><\/div><\/div><\/div><\/div><\/div><div      class=\"vc_row wpb_row section vc_row-fluid vc_inner\" style=' text-align:left;'><div class=\"full_section_inner clearfix\"><div class=\"wpb_column vc_column_container vc_col-sm-2\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><\/div><\/div><\/div><div class=\"wpb_column vc_column_container vc_col-sm-8\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_raw_code wpb_raw_html wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<link href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.5.2\/css\/all.min.css\" rel=\"stylesheet\">\n\n<style>\n.tr:nth-child(even) {\n  background-color: #F1FBFE;\n}\n<\/style>\n\n<table id=\"dataTable\" style=\"border: none\" width=\"100%\">\n    <thead>\n        <tr class=\"tr\" style=\"background-color: #0A8572;padding: 5px\">\n            <th style=\"color: #fff; width: 10%;\">#<\/th>\n            <th style=\"color: #fff; text-align: left\">Title<\/th>\n            <th style=\"color: #fff; width: 15%;\">File<\/th>\n        <\/tr>\n    <\/thead>\n    <tbody id=\"tableBody\"><\/tbody>\n<\/table>\n\n<div id=\"pagination\" style=\"text-align: center; vertical-align: middle; margin-top: 10px;\"><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\t<div class=\"wpb_raw_code wpb_raw_js\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<script>\n  \/\/ Detect language by URL: if \/en\/ exists => English\n  const isEN = window.location.pathname.startsWith('\/en\/');\n  const lang = isEN ? 'en' : 'ms';\n\n  \/\/ Labels for table UI\n  const UI = {\n    ms: { search: 'Carian', title: 'Tajuk', file: 'Fail' },\n    en: { search: 'Search', title: 'Title', file: 'File' }\n  };\n\n  \/\/ Data (BM + EN)\n  \/\/ \u2705 Kalau tajuk BM & EN sama, boleh copy sahaja.\n  const DATA = {\n    ms: [\n      { id: 6, title: 'Industrial Harmony Index (IHI) Nasional 2024', view: '\/wp-content\/uploads\/2025\/06\/Kapsul-IHIN2024-BM-1_compressed.pdf', download: '\/wp-content\/uploads\/2025\/06\/Kapsul-IHIN2024-BM-1_compressed.pdf' },\n      { id: 5, title: 'Industrial Harmony Index (IHI) Nasional 2022', view: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2022.pdf', download: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2022.pdf' },\n      { id: 4, title: 'Industrial Harmony Index (IHI) Nasional 2020', view: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2020.pdf', download: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2020.pdf' },\n      { id: 3, title: 'Industrial Harmony Index (IHI) Nasional 2019', view: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2019.pdf', download: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2019.pdf' },\n      { id: 2, title: 'Industrial Harmony Index (IHI) Nasional 2018', view: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2018.pdf', download: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2018.pdf' },\n      { id: 1, title: 'Industrial Harmony Index (IHI) Nasional 2017', view: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2017.pdf', download: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2017.pdf' }\n    ],\n    en: [\n      \/\/ \u2705 TUKAR ikut English yang betul (nama\/teks)\n      { id: 6, title: 'Industrial Harmony Index (IHI) National 2024', view: '\/wp-content\/uploads\/2025\/06\/Kapsul-IHIN2024-BM-1_compressed.pdf', download: '\/wp-content\/uploads\/2025\/06\/Kapsul-IHIN2024-BM-1_compressed.pdf' },\n      { id: 5, title: 'Industrial Harmony Index (IHI) National 2022', view: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2022.pdf', download: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2022.pdf' },\n      { id: 4, title: 'Industrial Harmony Index (IHI) National 2020', view: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2020.pdf', download: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2020.pdf' },\n      { id: 3, title: 'Industrial Harmony Index (IHI) National 2019', view: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2019.pdf', download: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2019.pdf' },\n      { id: 2, title: 'Industrial Harmony Index (IHI) National 2018', view: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2018.pdf', download: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2018.pdf' },\n      { id: 1, title: 'Industrial Harmony Index (IHI) National 2017', view: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2017.pdf', download: '\/wp-content\/uploads\/2024\/10\/Industrial-Harmony-Index-IHI-Nasional-2017.pdf' }\n    ]\n  };\n\n  const data = DATA[lang] || DATA.ms;\n\n  \/\/ Apply UI labels\n  document.getElementById('myInput').placeholder = UI[lang].search;\n  const thTitle = document.getElementById('th-title');\n  const thFile  = document.getElementById('th-file');\n  if (thTitle) thTitle.textContent = UI[lang].title;\n  if (thFile)  thFile.textContent  = UI[lang].file;\n\n  const rowsPerPage = 10;\n  let currentPage = 1;\n\n  function displayData(page) {\n    const tableBody = document.getElementById('tableBody');\n    tableBody.innerHTML = '';\n\n    const start = (page - 1) * rowsPerPage;\n    const end = start + rowsPerPage;\n    const paginatedData = data.slice(start, end);\n\n    paginatedData.forEach((item, index) => {\n      const row = `\n        <tr class=\"tr\" style=\"border:none\">\n          <td style=\"text-align:center;vertical-align:middle\">${start + index + 1}<\/td>\n          <td style=\"text-align:left\">${item.title}<\/td>\n          <td style=\"text-align:center;vertical-align:middle\">\n            <a target=\"__blank\" href=\"${item.view}\" style=\"background:transparent;padding-right:5px;border:none;cursor:pointer\">\n              <i class=\"fas fa-eye\" style=\"color:#2FC8B1\"><\/i>\n            <\/a>\n            <a href=\"${item.download}\" download style=\"background:transparent;border:none;cursor:pointer\">\n              <i class=\"fa-solid fa-file-arrow-down\" style=\"color:#132991\"><\/i>\n            <\/a>\n          <\/td>\n        <\/tr>`;\n      tableBody.insertAdjacentHTML('beforeend', row);\n    });\n\n    generatePagination();\n  }\n\n  function generatePagination() {\n    const totalPages = Math.ceil(data.length \/ rowsPerPage);\n    const pagination = document.getElementById('pagination');\n    pagination.innerHTML = '';\n\n    for (let i = 1; i <= totalPages; i++) {\n      const button = document.createElement('button');\n      button.innerText = i;\n      button.style.backgroundColor = i === currentPage ? '#0A8572' : '#eaeaea';\n      button.style.border = 'none';\n      button.style.borderRadius = '5px';\n      button.style.cursor = 'pointer';\n      button.style.color = i === currentPage ? '#fff' : '#000';\n      button.style.margin = '2px';\n\n      button.addEventListener('click', function () {\n        currentPage = i;\n        displayData(currentPage);\n      });\n\n      pagination.appendChild(button);\n    }\n  }\n\n  function searchTable() {\n    const input = document.getElementById('myInput');\n    const filter = input.value.toUpperCase();\n    const table = document.getElementById('dataTable');\n    const tr = table.getElementsByTagName('tr');\n\n    for (let i = 1; i < tr.length; i++) {\n      tr[i].style.display = 'none';\n      const td = tr[i].getElementsByTagName('td');\n      for (let j = 0; j < td.length; j++) {\n        if (td[j]) {\n          const txtValue = td[j].textContent || td[j].innerText;\n          if (txtValue.toUpperCase().indexOf(filter) > -1) {\n            tr[i].style.display = '';\n            break;\n          }\n        }\n      }\n    }\n  }\n\n  \/\/ expose searchTable to global (because onkeyup uses it)\n  window.searchTable = searchTable;\n\n  displayData(currentPage);\n<\/script>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><div class=\"wpb_column vc_column_container vc_col-sm-2\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><div      class=\"vc_row wpb_row section vc_row-fluid\" style=' text-align:left;'><div class=\"full_section_inner clearfix\"><div class=\"wpb_column vc_column_container vc_col-sm-3\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\">\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p id=\"custom_search_result\" style=\"display: none;\">Industrial Harmony Index (IHI) Nasional 2017, Industrial Harmony Index (IHI) Nasional 2018,<br \/>\nIndustrial Harmony Index (IHI) Nasional 2019, Industrial Harmony Index (IHI) Nasional 2020,<br \/>\nIndustrial Harmony Index (IHI) Nasional 2022<\/p>\n\n\t\t<\/div> \n\t<\/div> <\/div><\/div><\/div><div class=\"wpb_column vc_column_container vc_col-sm-9\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><\/div><\/div><\/div><\/div><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"Senarai Dapatan IHI Nasional dan IHI Self Assessment ** Sesetengah kandungan bukan di dalam DWIBAHASA # Tajuk Fail Industrial Harmony Index (IHI) Nasional 2017, Industrial Harmony Index (IHI) Nasional 2018, Industrial Harmony Index (IHI) Nasional 2019, Industrial Harmony Index (IHI) Nasional 2020, Industrial Harmony Index...","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-20900","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/jpp.mohr.gov.my\/en\/wp-json\/wp\/v2\/pages\/20900","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpp.mohr.gov.my\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jpp.mohr.gov.my\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jpp.mohr.gov.my\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jpp.mohr.gov.my\/en\/wp-json\/wp\/v2\/comments?post=20900"}],"version-history":[{"count":16,"href":"https:\/\/jpp.mohr.gov.my\/en\/wp-json\/wp\/v2\/pages\/20900\/revisions"}],"predecessor-version":[{"id":25566,"href":"https:\/\/jpp.mohr.gov.my\/en\/wp-json\/wp\/v2\/pages\/20900\/revisions\/25566"}],"wp:attachment":[{"href":"https:\/\/jpp.mohr.gov.my\/en\/wp-json\/wp\/v2\/media?parent=20900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}