<script type="text/javascript"> $(document).ready(function() { $('#txtID').keyup(function(event) { var searchKey = $(this).val().toLowerCase(); $("#grdEmployee tr td:nth-child(1)").each(function() { var cellText = $(this).text().toLowerCase(); if (cellText.indexOf(searchKey) >= 0) { $(this).parent().show(); } else { $(this).parent().hide(); } }); }); }); </script>
<asp:TextBox ID="txtcustid" runat="server" Width="100"></asp:TextBox> <asp:GridView ID="grdEmployee" runat="server" AutoGenerateColumns="true"></asp:GridView>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)