JavaScript Reference/Javascript Methods/doImport
"doImport()" Example
<html xmlns:namespace1>
<button onclick="document.namespaces(0).doImport("yourfile.htc");">
Import HTC file</button>
</body>
</html>
"doImport()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |namespace |
+----------------+--------------------------------------------------------------+
"doImport()" Syntax, Parameters and Note
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.