we use one asp button control and apply css class for background color and forecolor on click event problem in syntax how use it please give the solution thanx in advance
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
<asp:button ID="Button1" runat="server" text="Button" /> <script type="text/javascript"> document.getElementById("Button1").style.backgroundColor = "red"; document.getElementById("Button1").style.color = "Green"; </script>