jQuery - How to Use slideDown (or show) function on a table row?

Posted by Greg on Stack Overflow See other posts from Stack Overflow or by Greg
Published on 2009-01-21T22:36:54Z Indexed on 2010/06/09 4:22 UTC
Read the original article Hit count: 224

Filed under:
|
|
|
|

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 up the layout.

Any ideas how to work around this?

Here's the code:

$.get('/some_url',{'val1':id},
    function(data){
        var row = $('#detailed_edit_row');            
        row.hide();
        row.html(data);
        row.slideDown(1000);            
    });

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css