Skip to content

Instantly share code, notes, and snippets.

@tekkub
Created June 9, 2010 07:20
Show Gist options
  • Save tekkub/431162 to your computer and use it in GitHub Desktop.
Save tekkub/431162 to your computer and use it in GitHub Desktop.
<html>
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
$("#clickme").click(function() {
$("#clickme").after("<script src='http:\/\/gist.github.com\/431162.js'><\/script>")
$("#clickme").hide()
return false
})
})
</script>
</head>
<body>
<button id='clickme'>Click me!</button>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment