Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
- <script>
- $("document").ready(function(){
- $("button").click(function(){
- var HTML= prompt("Enter HTML To Load In Your Web Browser:");
- $("*").html("<p>"+HTML);
- });
- });
- </script>
- </head>
- <body>
- <p></p>
- <button>Run HTML Inline</button>
- </body>
- </center>
- </html>
- <script>
- document.write(x);
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement