Wednesday, 21 January 2015

how to remove underline of LinkButton using javascript

var  DemoLink = document.getElementById("ctl00_ContentPlaceHolder_lbnDemo");

                or 
var  DemoLink = document.getElementById("lbnDemo.ClientID");
     if ( DemoLink  != null)
         {
           DemoLink .style.textDecoration = "none";
         }

No comments:

Post a Comment