how to use display none in javascript for textbox 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 = '';