Menu
I have this code going on:
[CODE]
// Listening for a check on the complete box
$(“.checkboxes”).click(function() {
currentTODO = $(this).closest(‘.todo’);
currentTODO.data(‘id’,currentTODO.attr(‘id’).replace(‘todo-‘,”));
$.get(‘ajax.php’,{‘action’:’complete’,’id’:currentTODO.data(‘id’)},function(){
currentTODO.fadeOut(‘fast’);
});
});
(currentTODO is assigned whenever anything in the box is clicked)
And instead of marking the item complete ONLY when the checkbox is clicked, it marks it complete when anything in the wrapper is clicked.
Any insight?
Thanks in advance