That's probably because you're using the "first-child" of the <tr>, which is just the first <td>. Maybe you intended to do: $(".ajax").slideDown('slow') ?
I'm not sure of its effects for a tr though compared to a div. On Feb 12, 4:43 pm, Mark Steudel <msteu...@gmail.com> wrote: > I have a table that is setup with a tbody tag. > > If I run the following: > > $("#recent_activity tbody").prepend( '<tr class="ajax"><td > colspan="7">Testing this func</td></tr>' ); > > I get a new row spanning 7 columns > > If I prepend this: > $("#recent_activity tbody").prepend( '<tr style="display:none" > class="ajax"><td colspan="7">Testing this func</td></tr>' ); > > Then try to show it, with something like: > $(".ajax:first-child").slideDown('slow').fadeIn('slow'); > > I only get the first cell showing up. Why does this happen?