例子:
<SCRIPT>
var y = new ActiveXObject("Scripting.Dictionary");
y.add ("a", "test");
if (y.Exists("a"))
document.write("true");
</SCRIPT>

解决方案 »

  1.   

    你说得安装ie6是在服务器上面还是在客户机上面?
    我得服务器是nt4得,但是现在我改成了win2000server也不行阿
    好像不是ie6得问题
      

  2.   

    1. make sure the ActiveX security settings are low enough (enable them in Tools->Internet Options->Security for your zone)2. open a dos window, go to c:\winnt\system32, if you have "scrrun.dll", run
    regsvr32 scrrun.dll3. if you do not have scrrun.dll, download Microsoft Windows Script 5.6  at
    http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/MSDN-FILES/027/001/733/msdncompositedoc.xml