Wednesday, 21 January 2015

How to disable Borders of TextBox using javascript

   var txtDemo document.getElementById('ctl00_ContentPlaceHolder_ txtDemo');
                    (Or)
   var txtDemo =  document.getElementById('ctl00_ContentPlaceHolder_ txtDemo');

      if( txtDemo  != null)
         {
             txtDemo.style.border = 'none';
             
          }

No comments:

Post a Comment