Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
- <script>
- $(function(){
- $('#test').mouseover(function(){
- alert("</script>");
- $(this).innerHtml = "test*<script>alert('mouse over fired!');</script>*test";
- });
- });
- </script>
- </head>
- <body>
- <div id="test">This is a test!</div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement