
                 tabCell.innerHTML = getDataKunjungan[i][col[j]];
             }
         }

         // FINALLY ADD THE NEWLY CREATED TABLE WITH JSON DATA TO A CONTAINER.
         var divContainer = document.getElementById("showData");
         divContainer.innerHTML = "";
         divContainer.appendChild(table);
       });
  {/if}
</script>
