aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes How to get the parent div? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to get the parent div?" Watch "How to get the parent div?" New topic
Author

How to get the parent div?

Sharon whipple
Ranch Hand

Joined: Jul 31, 2003
Posts: 294
Hi ranchers,
I am working on JS TreeView control.
I am trying to get the parent div id of the current node selected:



How can I get wrapping div object or Div id (tree-1) from within promptDivId function?

promptDivId :


Thank you.


Tree code:


Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Look into parentNode

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get the parent div?
 
Similar Threads
xsl: anchor problem
How to eliminate the diffrence between firefox and ie about this problem
jQuery not working on page
Problems using custom tag with javascript
Need Help with Jquery Selector logic