JavaScript Reference/Javascript Methods/doImport
Версия от 18:30, 25 мая 2010; (обсуждение)
"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.