Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
- <script>
- $(document).ready(function(){
- $("#show_more").click(function(){
- $("#show_here").append(" <b>Appended text</b>.");
- });
- });
- </script>
- </head>
- <body>
- <div id="show_here"></div>
- <button id="show_more">Append text</button>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement