[jQuery] Prepended row, slide-in, showing only first cell
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?