1
I am creating a Timeline and would like to apply an iterativity when I click on each card/node.
I would like to click (expand card) on the link in the tag <a>
whose css class is "Timeline-link" the class of <i class="**fa fa-folder** bg-blue icon"></i>
was switched to <i class="**fa fa-folder-open** bg-blue icon"></i>
//Troca o sinal de "+" e "-" drill down by row
$('.timeline-link').click(function () {
//alert("oi");
icon = alert($(this).parents().prevAll().parents().parents('li').prev().find("li").html());
//icon = alert($(this).parents().parents().parents('li').closet('i').html());
//icon = $(this).find('i').find('.mile')
//icon.toggleClass("fa fa-folder-open fa fa-folder")
//icon = $(this).find("i");
//icon.toggleClass("fa fa-folder-open fa fa-folder")
//icon = $(this).find("i");
//icon.toggleClass("fa fa-plus fa fa-minus")
})