Sortable received item attributes

Sortable received item attributes


hello all,
I'm trying to figure out how to obtain attributes from the received
items
and I keep getting undefined could some please point me in the right
direction ?
Here is what I have
<script type="text/javascript">
    $(document).ready(function(){
        $("#hottopic, #hidden").sortable({
            connectWith: ['.connectedSortable'],
            receive: function(e,ui) {
                 alert("received " + $(ui).attr('id'));
            }
        });
    });
</script>
thanks for any help
Mean Mike