button click show box 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 = '';