I have two lists, one sortable and one draggable. I drag some <li> from one list to the other using
connectToSortable (cloned). This is working correctly. However, I have an anchor contained in the <li> which
doing this:
$(".detailsSequence").on('click', function(){
$(this).parent().find('.sequenceApp').each(function(){
$(this).toggle();
});
});
Anchors look like this
<a id="@Html.DisplayFor(model => model.RolesMdt.ElementAt(i).Key)" class="detailsSequence" href="#">?</a>
The event works in the draggable list, but when I transfert it to the other, it doesn't.
I did inspect the page and the anchor still is of class "detailsSequence". What am I missing?
Thanks

New Topic/Question
Reply


MultiQuote


|