Click here to Skip to main content
15,891,856 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want a search boc for my gridview. So if you write somethind in the TextBox (id=txtSearch) then jquery function should find it in the gridview(id=Gridview1). I downloaded the jquery Code, but I have unfortunately no idea what Code should I write for it....

JavaScript
 <script src="../scripts/jquery.sieve.js"></script>
    <script type="text/javascript"></script>
   
<asp:TextBox ID="txtSearch" runat="server" />


What I have tried:

I started with
JavaScript
<script>
        §("#txtSearch").search({
            
        })
    </script>


but I am not even sure if ist the right beginning.
Posted

1 solution

Consult the documentation

Sieve jQuery Plugin[^]

The plug-in creates the text search box, you don't add your own.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900