JavaScript Reference/Javascript Methods/doImport
"doImport()" Example
<source lang="javascript">
<html xmlns:namespace1> <button onclick="document.namespaces(0).doImport("yourfile.htc");"> Import HTC file</button> </body> </html>
</source>
"doImport()" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |namespace | +----------------+--------------------------------------------------------------+
</source>
"doImport()" Syntax, Parameters and Note
<source lang="javascript">
Note: Imports an element behavior into the namespace object. Add() method adds a new namespace object to the namespaces collection.
Syntax:
document.namespaces[index].doImport(param1) Parameters:
param1 Required; the URL of the element behavior. </source>