Puskesmas Pandak II

Salam, Triharjo, Pandak, Bantul 55761 Telp. 08112642721
Email : pusk.pandak2@bantulkab.go.id



function klik_wa(){
nama = document.getElementById(“wa_nama”).value;
alamat= document.getElementById(“wa_alamat”).value;
pesan= document.getElementById(“wa_pesan”).value;
url = “https://api.whatsapp.com/send?phone=6285335131487&text=Nama%20%3A%20″+encodeURIComponent(nama)+”%0AAlamat%20%3A%20″+encodeURIComponent(alamat)+”%0A%0A”+encodeURIComponent(pesan);
window.location.href = url;
}