when i run the program the div will hide at first. but when i click the button, the div will show quickly and hide again.
- <script type="text/javascript">
- function hideOnLoad() {
- $('#Package').hide();
- }
-
- $(document).ready(function () {
- hideOnLoad();
- $("#show").click(function(){
- $("#Package").show();
- });
- });
- </script>