HighDots Forums  

The parent-object

alt.html.dhtml alt.html.dhtml


Discuss The parent-object in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ronnie Jensen
 
Posts: n/a

Default The parent-object - 06-27-2003 , 09:56 AM






Hi there..

Is it possible to get a referance to the parent of an object??

Say you got this:
<Div ID='X'>
<Div ID='Y'>

</Div>
</Div>
Where X is the parent of Y.

I would like a function like this:

function getParent(obj){
return(obj.Parent)
}

Can that be?

Thanks in advance
Ronnie



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.