micalexander
1/29/2014 - 3:15 AM

jquery:snippet:click child when parent is clicked

jquery:snippet:click child when parent is clicked

$('.parent').click(function(){
	if ($(this).has('click-child')) {
		$(this).find('.child').click();
	};
});