html klik sembunyikan kotak teks

//hide
document.getElementById("idOfTextField").style.display = 'none';

//visible
document.getElementById("idOfTextField").style.display = '';
Upset Unicorn