hide() & Show function

hide() & Show function

Greeting Friends,

I am adil i m new in jquery. Iwant to know that i add hide and show function in ASP.NET Website and when i execute it the wont working i don't know what is happened please any help appreciated.

My Code

  1. <script type="text/javascript">
  2. {
  3. $(document).ready(function(){
  4. $('#btnhide').click(function(){
  5. ${'#panel').hide(5000);
  6. });
  7. $('#btnshow').click(function(){
  8. ${'#panel').show(5000);
  9. });
  10. });
  11. <asp:Button ID="btnhide" runat="Server" Text="Hide" />
  12. <asp:Button ID="btnshow" runat="Server" Text="Show" />