hi guys,
i'm trying to figure out, how i could declare drop-function for my elements easily:
- <div class="foo">
- <div class="bla" test="1"></div>
- </div>
- <script>
- $( ".foo .bla" ).droppable({
- drop: function(event,ui){
- alert(this.attr('test'));
- }
- });
but that fails and i dont know why, can somebody help me pls!
thx