Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
- .NET API Reference
- JavaScript API Reference
- EO.Web
- EO.Web
- Objects
- Global Functions
- Global Functions
- eo_Callback
- eo_CancelBubble
- eo_CancelEvent
- eo_DateToString
- eo_FormatString
- eo_GetContainer
- eo_GetEventPos
- eo_GetNavigatorEventInfo
- eo_GetObject
- eo_HideAllPopups
- eo_MsgBox
- eo_RegisterDragTarget
- eo_SetComboBoxValue
- eo_ShowContextMenu
- eo_ShowPopup
- eo_ShowPopupCalendar
- eo_StringToDate
- eo_TriggerServerEvent
- eo_UnregisterDragTarget
- Event Handlers
- EO.WebEngine
- EO.Web
eo_GetContainer Function |
Get the closest object that contains the given DHTML element.
Syntax
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