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>