views:

19

answers:

0

Hi

I have a table and trying to filter using uiTableFilter plugin as given at: http://silverwareconsulting.com/index.cfm/2008/10/2/jquery-autofiltering-table

Here is JQuery Function:

$("#myTable tbody tr").find("td:eq(" + i + ")").click( function() {

        clickedText = $(this).text(); 
        FilterText = ((FilterText == clickedText) ? "" : clickedText ); 
        $.uiTableFilter( $table, FilterText, ColumnArray[i]); 
   }); 
Transaction
ID Transaction
Date Name Email Address Products ">

It is not hitting this line in JQuery function:

$("#myTable tbody tr").find("td:eq(" + i + ")").click( function() { Thanks for all the responses.

Here is my View Source HTML Code: Here is my View Source:

<thead> 
    <tr> 
        <th></th>  
        <th align="left">Transaction<br />ID</th> 
        <th align="left">Transaction<br />Date</th> 
        <th align="left">Name</th> 
        <th align="left">Email Address</th> 
        <th align="left">Products</th> 
                    </tr> 
</thead> 
<tbody> 
        <tr id="1"> 
            <td class="plus"><img src="/images/Expand_button_white.jpg" alt="" /></td> 
            <td>1</td> 
            <td>10/7/2009 7:09 AM</td> 
            <td>Mike</td> 
            <td>[email protected]</td> 
            <td>Product 1</td>