const time = "<php $zaman ?>"; geriSayimFonksiyonu(){ .... .... if(sayim_sonucu === 0){ butonuGizle(); } } butonuGizle(){ $('#button').hide(); }