Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 26th, 2012  |  syntax: None  |  size: 0.83 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Jquery error: Object expected
  2. <head runat="server">
  3. <title></title>
  4. <script src="//Scripts/jquery-1.4.1.js" type="text/javascript"> </script>
  5. <script type="text/javascript">
  6.     $(document).ready(function () {
  7.         $("#divGridView table tbody tr").mouseover(function () {
  8.             $(this).addClass("highlightRow");
  9.         }).mouseout(function () { $(this).removeClass('highlightRow'); })
  10.     });      
  11. </script>
  12. </head>
  13. <body>
  14. <form id="form1" runat="server">
  15. <div id="divGridView">
  16.  <asp:GridView ID="gvOpenSII" runat="server">
  17.  </asp:GridView>
  18.        
  19. <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"> </script>
  20.        
  21. <script src="Scripts/jquery-1.4.1.js" type="text/javascript"> </script>
  22.        
  23. $(function(){
  24.     $('table tr').bind('mouseenter mouseleave',function(){
  25.         $(this).toggleClass('highlightRow');
  26.     });
  27. });