# Scriptaculous sortables

**URL:** <https://forum.kirupa.com/t/scriptaculous-sortables/216715>\
**Category:** Uncategorized\
**Created:** [February 19, 2007, 10:42pm UTC](https://forum.kirupa.com/t/scriptaculous-sortables/216715 "2007-02-19T22:42:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simplistik](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simplistik/32/7747_2.png) [@simplistik](https://forum.kirupa.com/u/simplistik)\
**Post date:** [February 19, 2007, 10:42pm UTC](https://forum.kirupa.com/t/scriptaculous-sortables/216715/1 "2007-02-19T22:42:05Z")

</div>

I’m wondering if anyone has experience w/ the scriptaculous sortables function. I’m having a bit of trouble singling out a single sortable ID once it’s dragged into the desired container.

The snippet of code that is relevant to this is:

```auto

Sortable.create('trashBG',{tag:'div',dropOnEmpty: true,constraint: false,containment: sections,only:'lineitem', onUpdate:function(element){ getGroupOrder(); Ajax.request('updated.php?order='+idOrder); new Effect.Fade('trashBG',{}); } } );

```

I can get the parent object to fade out easily which is ‘trashBG’ but I need he child if ‘trashBG’ to fade out instead.
