<%@ Page Language="C#" CodeBehind="NewPage.aspx.cs" MasterPageFile="~/Site.Master" Inherits="WebApplication5.NewPage" %> <asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent"> <asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent"> <header> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.js"></script> <script type="text/javascript"> $(document).ready(function () { $(".btnnn").click(function () { $("p").toggle("slow"); }); }); </script> </header> <div> <p id="para">Click the button to hide this!!!</p> </div> <div> <asp:Button ID="Button1" CssClass="btnnn" runat="server" Text="Hide It" /> </div>
<asp:button id="Button1" cssclass="btnnn" runat="server" text="Hide It" onclientclick="return false" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)