<div>
    <input type="checkbox" id="box" value="10" /> Checkbox
</div>

<script>
$(document).ready(function(){
  var text = $('#box').parent().text();
});
</script>
Published in: JavaScript
Download

Related snippets