数据表在 jquery show() 之后未正确显示



>当我尝试显示隐藏的表格时

<div id="buglist" style="display: none"
        <?php include_once("partials/bugs.php");//here is the datatables table 
</div

当我打电话时

 $("#buglist").show();

表格正确但很小,不对容器进行加热,没有显示:无,一切都正确

尝试使用 removeAttr

$("#buglist").removeAttr("style")

show(( 函数应该显示,我认为还有其他问题。你在 domready 上运行吗?

试试这个而不是 show(( :

$("#buglist").css("display", "block");

最新更新