Posts

FORM DAFTAR
    DAFTAR
    $(document).on('click','.send_form', function(){ var input_blanter = document.getElementById('wa_number'); /* Whatsapp Settings */ var walink = 'https://web.whatsapp.com/send', phone = '85568501832', walink2 = 'Tolong bantu pendaftaran saya ya bosku ', text_yes = 'Terkirim.', text_no = 'Silahkan isi form pendaftaran diatas yah.'; /* Smartphone Support */ if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { var walink = 'whatsapp://send'; } if("" != input_blanter.value){ /* Call Input Form */ var input_name1 = $("#wa_name").val(), input_email1 = $("#wa_email").val(), input_url1 = $("#wa_url").val(), input_number1 = $("#wa_number").val(), input_select1 = $("#jns_game :selected").text(), input_textarea1 = $("#referral").val(); /* Final Whatsapp URL */ var blanter_whatsapp = walink + '?phone=' + phone + '&text=' + walink2 + '%0A%0A' + '*Nama Rek/E-wallet* : ' + input_name1 + '%0A' + '*Nomor Rek/E-wallet* : ' + input_email1 + '%0A' + '*Jenis Rek/E-wallet* : ' + input_url1 + '%0A' + '*No Tlfn Aktif* : ' + input_number1 + '%0A' + '*Permainan* : ' + input_select1 + '%0A' + '*Referral* : ' + input_textarea1 + '%0A'; /* Whatsapp Window Open */ window.open(blanter_whatsapp,'_blank'); document.getElementById("text-info").innerHTML = '<span class="yes">'+text_yes+'</span>'; } else { document.getElementById("text-info").innerHTML = '<span class="no">'+text_no+'</span>'; } });
    There's nothing here!