I have it working right now but I am wondering if this is the best
way?

        $('.chapters-title [EMAIL PROTECTED]').click(function(){
                $(this).parents('.chapters-title').next('.pages-
container').find('[EMAIL PROTECTED]').attr('checked',
this.checked);
        },function(){
                $(this).parents('.chapters-title').next('.pages-
container').find('[EMAIL PROTECTED]').attr('checked', '');
        });

Reply via email to