CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Language: JavaScript

$.fadeTo/fadeOut not responding on table rows

324 Views
Copy Code Show/Hide Line Numbers
    var sel =
        $("#gdEntries>tbody>tr")
                .not(":first-child")  // no header
                .not(":last-child")   // no footer
                .filter(":even")
                .addClass("gridalternate");
 
    // *** Demonstrate simple plugin
    sel.fadeTo(2000,0.30);
 
 
// html
<table class="blackborder" cellspacing="0" cellpadding="4" rules="all" PagePageSize="8" border="1" id="gdEntries" style="width:750px;border-collapse:collapse;">
        <tr class="gridheader">
            <th scope="col">Time in</th><th scope="col">Description</th><th scope="col">Total</th>
        </tr><tr class="griddatarow" pk="257">
            <td class="timeinField">Nov 10 12:00 AM</td><td class="descriptionField">
                    <div style="display:none">257</div>
                    <b>Fix up jQuery Download</b>
                    <div id="entrydescription">Refactor jQuery samples to work into a single Web project for less dependencies for users to play with.</div>            
                </td><td>150.00</td>
        </tr><tr class="griddatarow" pk="253">
            <td class="timeinField">Apr 22 05:30 PM</td><td class="descriptionField">
                    <div style="display:none">253</div>
                    <b>Preparation for DevConnection jQuery Session</b>
                    <div id="entrydescription">Work on walk-through's for jQuery session</div>            
                </td><td>140.00</td>
        </tr><tr class="griddatarow" pk="252">
            <td class="timeinField">Apr 22 10:15 AM</td><td class="descriptionField">
                    <div style="display:none">252</div>
                    <b>Get ready for LINQ to SQL Talk</b>
                    <div id="entrydescription">Review samples to ensure they work. Zip up all samples and latest slides and upload to site. Revisit LINQ to SQL queries to be hand coded during demo.</div>            
                </td><td>199.99</td>
        </tr>
</table>
by Rick Strahl
  November 08, 2009 @ 10:05pm
Tags:

Add a comment


Report Abuse
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate