Language: JavaScript
$.fadeTo/fadeOut not responding on table rows
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>
Tags:
Report Abuse
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search

