搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

ActiveXObject is not defined. How do I fix?

more options

This code function getFileDate(Str){ var oas = new ActiveXObject("Scripting.FileSystemObject"); var fileobj = oas.GetFile("LR0001.jpg"); return fileobj.DateCreated; }

This code function getFileDate(Str){ var oas = new ActiveXObject("Scripting.FileSystemObject"); var fileobj = oas.GetFile("LR0001.jpg"); return fileobj.DateCreated; }

所有回复 (1)

more options

The ActiveXObject object is used to create instances of OLE Automation objects in Internet Explorer on Windows operating systems.

So it only supports Internet Explorer on Windows. No other browser support is available till date for ActiveXObject.

For cross browser solution, use object element instead. Read more about it here

由Abhishek Raj Simon于修改