Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

eo_GetContainer Function 

Get the closest object that contains the given DHTML element.

[JavaScript]
function eo_GetContainer(element, type)

Parameters

element
The DHTML element.
type
The object type.

Remarks

Use this function to locate the closest object that contains the given DHTML element. For example, a Dialog can include the following DHTML code in its ContentTemplate:

[HTML] 
<div onclick="eo_GetContainer(this, 'Dialog').close();">
Click here to close dialog
</div>

See Also

Global Functions


Direct link to this topic