JavaScript--控制Table的可见

JavaScript代码:

<script>
    $(document).ready(function () {
        $("#btninfo").click(function () {
            var createfile = document.getElementById("addinfo");
            if (createfile.style.visibility == "hidden") {
                createfile.style.visibility = 'visible';
            }
            else {
                createfile.style.visibility = 'hidden';
            }
        })
    })
</script>
posted @ 2019-07-23 13:20  初晨~  阅读(291)  评论(0编辑  收藏  举报