Home » Web development » Jquery Function on checking and Un checking checkbox

$(".headingBCrvR input.acessedit:checkbox").change(function(event){
		 if($(this).is(':checked')){
		 	$(this).parent().parent().parent().parent().next().find('input.acessedit:checkbox').attr('checked',true);
				//alert($(this).parent().parent().next().attr('class'));
				//$('div.accordionContent').not($(this).parent().parent().parent().parent().next()).slideUp('normal');
				if($(this).parentsUntil('.headingBCrv').parent().parent().attr('class')=='parentcontentdiv'){
				$('div.accordionContent').not($(this).parentsUntil('.parentcontentdiv')).slideUp('normal');
				}
				$(this).parent().parent().parent().parent().next().slideDown('fast');
				$('div.accordionContent div.accordionContent').slideDown('fast');
		 }
		 else{ $(this).parent().parent().parent().parent().next().find('input.acessedit:checkbox').attr('checked',false); }
     });

Wordpress Freelancer, Joomla Freelancer Web designer Mumbai india, Wordpress web developer India, Joomla Web developer india, Outsourcing web project india mumbai

By Santosh Kori Published: October 10, 2012 Professional Freelance Website developer 5 stars based on 65 reviews Total time: 24 hour 00 min Wordpress Joomla XHTML CSS jQuery HTML5 eCommerce CSS3 ☞ Offers low cost freelance web designing, asp php asp.net web development services from Mumbai India. Freelance web designer & developer Mumbai India.

I AM NOT AVAILABLE FOR WEB DESIGN & DEVELOPMENT PROJECTS