get data-id attribute of the clicked element
    var no_tlp = $(e.relatedTarget).data('no_tlp');
    var nm_pasien = $(e.relatedTarget).data('nm_pasien');
    //populate the textbox
    $(e.currentTarget).find('input[name="number"]').val(no_tlp);
    $(e.currentTarget).find('textarea[name="message"]').val(nm_pasien);
});
</script>
<script>
  function KirimWA() {
  	var xhttp = new XMLHttpRequest();
    var api_key = '{$waapitoken}';
  	var sender = '{$waapiphonenumber}';
  	var number = document.getElementB