• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTree DND selector question

 
K Mansoor
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi- I'm using JSTree DND. The problem is I have some attributes on ; on dropping, how can I get lob-id or dept-id? I can get x-attr easily (data.o.attr), but how can I get to the child "a" of "li"?
please consider the following:



My attempts look like the following:


None seems to work, any pointers will be much appreciated.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic