doImport method (namespace)
Imports the specified behavior file into the current namespace.
With the doImport method you can attach HTA or HTC files to namespaces. These files are useful to create custom elements, with custom functionality.
You can find the related objects in the Supported by objects section below.
|Required. Specifies the location of the element behavior to import.
This method has no return value.
Example HTML code 1:
This example illustrates the use of the doImport method:
Did you find this example helpful?
User Contributed Comments