hi, I am new to jquery. I am starting practicing. My first program to hide the paragraph i wrote the script but its not working. I am using master pages also here is my code. master.aspx i kept js files. <head runat="server"> <script type="text/javascript" src="Scripts/jquery-1.4.1.js"></script> <script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script> <script type="text/javascript" src="Scripts/jquery-1.4.1-vsdoc.js"></script> <title></title> in Default.aspx <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <script type="text/javascript"> $('#paragraph').click(function () { $('#paragraph').hide(); }) </script> <p id="paragraph">This is a Pragraph.</p> </asp:Content> here the paragraph id is not getting hide. please help me thank you.
<script type="text/javascript"> $(document).ready(function(){ $('#paragraph').click(function () { $('#paragraph').hide(); }); }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)