jawi
function jenisZakat(jenis){ $('#jenis').removeAttr('checked'); if(jenis == '7') { $('input[value="murah"]').prop("checked",true) } if(jenis == '14') { $('input[value="mahal"]').prop("checked",true) } if(jenis == '21') { $('input[value="brasmati"]').prop("checked",true) } kiraanZakat(); }; function kiraanZakat(){ var value = $( 'input[name=jenis]:checked' ).val(); if(value=="murah") { $('#kadarnisab').val('7.00'); } if(value=="mahal") { $('#kadarnisab').val('14.00'); } if(value=="brasmati") { $('#kadarnisab').val('21.00'); } var kadar = $("#kadarnisab").val(); var nilai = $("#nilai").val(); if(kadar != "" && nilai != "") { var total = (kadar * nilai).toFixed(2).replace(/(\d)(?=(\d{3})+\.,)/g, '$1,'); total = (total.replace(',','')); $('#jum_zkt').val(total) $('#ttotal').val(total); $('.bayar').fadeIn(1500); carabayar(); $('html, body').animate({ scrollTop: $('.bayar').offset().top }, 'slow'); } }; function carabayar(){ $.ajax({ url: "../fpx/fpx_banks.php", success: function (response) { $('#carabayaran').show(); $("#carabayaran").html(response); } }); }
  1 800 88 1740       |         aduan@zakatkedah.com       |