Wednesday, 21 January 2015

How to clear text of TextBox using javascript


var txtDemo = 
document.getElementById('ctl00_ContentPlaceHolder_  txtDemo  ');
          
   if(  txtDemo  != null)
     {
           txtDemo.innerHTML="";
           
      }

No comments:

Post a Comment