how to hide the textbox when click the button code example
Example: html click hide textbox
//hide
document.getElementById("idOfTextField").style.display = 'none';
//visible
document.getElementById("idOfTextField").style.display = '';
//hide
document.getElementById("idOfTextField").style.display = 'none';
//visible
document.getElementById("idOfTextField").style.display = '';