Hi,
Im new in jquery and created my first jquery sliding panel.But it doesnt seems to be working.I know something is missing but i cant work that out ..
Heres my code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Jquery1.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>SlidePanel</title>
<script type="text/javascript" src="Jquery/jquery-1.8.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#<%=btnSubmit.ClientID %>").click(function(){
$("#<%=pnlShow.ClientID %>").slideToggle("slow");
})
})
</script>
</head>
<body>
<form id="form1" runat="server">
<table width="1200px">
<tr>
<td align="center">
<asp:Panel BackColor="red" Width="900" ID="pnlShow" runat="server" Height="200px"></asp:Panel>
</td>
</tr>
<tr>
<td align="center">
<asp:Button ID="btnSubmit" runat="server" Text="Click" BackColor="Beige" Width="150px" />
</td>
</tr>
</table>
</form>
</body>
</html>
http://www.webdesignerwall.com/demo/jquery/simple-slide-panel.html
Also can u refer some jquery tutorial web site that is well explained which helps me in upgrading my jquery knowledge.