Wednesday, 21 January 2015

How to clear text of Label using javascript

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

No comments:

Post a Comment