Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Javascript practice</title>
- </head>
- <body>
- <button>Hey Fade me</button>
- <div div="divthree">
- <p>Hello world</p>
- </div>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
- <script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
- <script type="text/javascript" src="Testing.js"></script>
- </body>
- </html>
- $(document).ready(function(){
- $("button").click(function(){
- $("#divthree").fadeOut(3000);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement