Skip to content

Instantly share code, notes, and snippets.

@PavelPenkov
Created March 1, 2011 10:56
Show Gist options
  • Save PavelPenkov/848969 to your computer and use it in GitHub Desktop.
Save PavelPenkov/848969 to your computer and use it in GitHub Desktop.
<html>
<body>
<script type="text/javascript" src="jquery-1.5.js"></script>
<script type="text/javascript">
function zhopa() {
alert('zhopa');
}
</script>
<script type="text/javascript">
$(function() {
s = "<script>function dyn() { alert('dyn'); }<\/script>";
$('body').after(s);
$('script').each(function(i,e) {
alert($(e).html());
});
dyn();
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment