Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
</head>
<body>
<div id="box"></div>
<input type="submit" id="Button" value="Button" />
<script src="https://code.jquery.com/jquery-2.1.0.min.js" type="text/javascript"></script>
<script>
$('#Button').click(function () {
$('#box').html('It works!');
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment