This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes JSTree DND selector question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JSTree DND selector question" Watch "JSTree DND selector question" New topic
Author

JSTree DND selector question

K Mansoor
Ranch Hand

Joined: Jan 10, 2006
Posts: 52
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JSTree DND selector question