getObject (Client API reference)

Returns the object in the form that represents an IFRAME or web resource.

Control types supported

iframe, webresource

Syntax

formContext.getControl(arg).getObject();

Note

This method should be used after the onreadystatecomplete event is triggered. If this is used before, then there is chance that the call to getObject() will fail.

Return Value

Type: Object

Description: Object depends on the type of control:

  • An IFRAME and HTML web resource returns the IFrame element from the Document Object Model (DOM).