-1
定義我有很多困難,試圖解決一個的ReferenceError的:的ReferenceError:ActiveXObject的在Chrome和Mozilla
ActiveXObject is not defined in Google Chrome.
function WriteToFile()
{
var fso = new ActiveXObject("Scripting.FileSystemObject");
var s = fso.CreateTextFile("/var/www/html/nodejsphp/Test.txt",true);
s.WriteLine('messages');
console.log("contents of file now'some sampletext'");
s.Close();
}
任何想法從哪裏開始?