Created
May 9, 2014 05:52
-
-
Save royaso/f8ba8ffebf744db5a4ef to your computer and use it in GitHub Desktop.
PHP:trow new Exception
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body > | |
<script type="text/javascript"> | |
function aa(x){alert(x)} | |
</script> | |
<div id='aa'>jjjjjjjjjjj</div> | |
<script> | |
window.onload=function(){ | |
var ss=document.createElement('script'); | |
ss.setAttribute("type","text/javascript"); | |
ss.src='alert.js' | |
document.body.appendChild(ss); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment