Simple set Textbox's
style.display property to
'none' for visible false, and set Textbox's
style.display property to
'' for visible true
document.getElementById("idOfTextField").style.display = 'none';
document.getElementById("idOfTextField").style.display = '';