title: jquery not working on my asp page
body: <p>I've been trying to figure out what's wrong with this for the past few minutes..</p>
  
  <pre><code>&lt;%@ Page Title="test" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %&gt;
  
  &lt;%@ PreviousPageType VirtualPath="~/Top.aspx" %&gt;
  
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"&gt;
      &lt;style&gt;
          #pagediv { width: 1500px !important; }
      &lt;/style&gt;
      &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
      $(document).ready(function () {
          $("#ddModel").change(function () {
              var selVal = $(this).find(":selected").text();
              var rows = $("#gvTop tr:gt(0)");
              alert(selVal);
              if (selVal == "ALL") {
                  $("#gvTop tr").show();
              }
              else {
                  var rowToShow = rows.find("td:eq(3)").filter(":contains(" + selVal + ")").closest("tr");
                  rows.show().not(rowToShow).hide();
              }
          });
      });
  &lt;/script&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>Still have no idea right now.</p>
  
  <pre><code>&lt;asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"&gt;
      &lt;asp:DropDownList ID="ddModel" runat="server" DataSourceID="ddmodelsource" DataTextField="Column1" DataValueField="Column1"&gt;
      &lt;/asp:DropDownList&gt;
      &lt;asp:GridView ID="gvTop" runat="server" CellPadding="2" CellSpacing="2" GridLines="Vertical"&gt;
      &lt;/asp:GridView&gt;
  &lt;/asp:Content&gt;
  </code></pre>