Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<title>Checkbox Test</title>
<script src="" type="text/javascript"></script>
<input type="checkbox" id="box"> Check Me
<a href="#test">Is it checked?</a>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('a[href="#test"]').live('click', function() {
var input = $('input[name="box"]');
if (':checked')) {
} else {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment