Web Development



How to access a DOM object of a scriptlet from its parent DOM

By ameya_phadke ·
Hello All,

We are facing a problem in which we need to access DOM object of a DHTML menu from its parent DOM in a webpage. Moreover, this DHTML menu is built in a reusable *scriptlet* embedded in a <OBJECT> tag. Here is the actual HTML snippet of that <object> tag -

<OBJECT style="Z-INDEX: -2; LEFT: 0px; VISIBILITY: hidden; WIDTH: 500px; POSITION: absolute; TOP: 0px; HEIGHT: 400px" type=text/x-scriptlet data=components/PopupMenu2/IE6AndBelow/PopupMenuContainer.htm></OBJECT>

Take a look at section marked in RED in above HTML, interestingly, if we define the type like this- ?type=text/html?, then we can access DHTML DOM from its parent DOM which contains the <OBJECT> tag.

Your pointers would be very helpful.

Note - Let its implementation be in any of the following technologies - JavaScript, .net, win32

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums