I\'m trying to add a row to a table and have that row slide into view, however the slidedown function seems to be adding a display:block style to the table row which messes
Have a table row with nested table:
$('.dummyRow').show().find("table").slideDown();
Note: the row and it's content (here it is "table"
) both should be hidden before animation starts.
$('.dummyRow').find("table").slideUp('normal', function(){$('.dummyRow').hide();});
The second parameter (function()
) is a callback.
Simple!!
Note that there are also several options that can be added as parameters of the slide up/down functions (the most common being durations of 'slow'
and 'fast'
).