Thursday, October 6, 2011

to hide and make visible the textbox javascript



To hide the textbox use


var gg=document.getElementById("txtbox");
gg.style.visibility='hidden';


To make visible the textbox use:
var gg=document.getElementById("txtbox");
gg.style.visibility='visible';




No comments:

Post a Comment