Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //the button code
- <button id="toggleChat">Show/Hide Chat</button>
- //the toggle code
- <script type="text/javascript">
- $(document).ready(function() {
- $("#toggleChat").click(function() {
- $("#chat").toggle("slow");
- });
- });
- </script>
Add Comment
Please, Sign In to add comment