Monday, May 23, 2011

How to enable/disable control using javascript in asp.net

 <script type="text/javascript">
    function Disable()
    {
           // Disable server side button with following syntax
           document.getElementById("button1").disabled = true;
    }
 </script >

 

No comments:

Post a Comment