ok.... i've found the problem. was actually quit simple :D
On 22 Mai, 22:36, "[email protected]" <[email protected]>
wrote:
> I'm using 1.71 of UI and 1.3.2 for jquery
>
> Yours works- but you only have one span with an ID assigned
> (the one with Hello). The other one comes back with a blank
> after ID: because no ID is assigned.
>
> On May 22, 1:17 pm, sebastian <[email protected]> wrote:
>
> > hmm, how strange...
> > what version are you're you using?
>
> > btw, here is my sample code, maybe I'm doing something wrong:
>
> >http://attachr.com/12231
>
> > On 22 Mai, 17:39, "[email protected]" <[email protected]>
> > wrote:
>
> > > $(ui.draggable).attr('id') works for me.
>
> > > On May 22, 8:34 am, sebastian <[email protected]> wrote:
>
> > > > Hi, I have the folowing problem:
> > > > I need to get the ID of the element that was dropped on my droppable
> > > > Element.
> > > > I tried to get it with .attr('id') through the drop listener (with $
> > > > (ui.draggable)) and through the start listener(with $(this)) of the
> > > > draggable, but both won't work. I was able to get class but that
> > > > doesn't help me...
> > > > Thanks!
> > > > sebastian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---