Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<!DOCTYPE html>
<script type="text/javascript" src=""></script>
<script type="text/javascript">
$('button').live('click', function () {
$.ajax({url: '/', error: function() { alert('error!'); }});
return false;
<button>Click Me</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.