Javascript fopen错误,null属性
我试图在一个aspx页面中从javascript写入一个文件,但遇到了一个错误。这是我的代码和错误Javascript fopen错误,null属性,javascript,Javascript,我试图在一个aspx页面中从javascript写入一个文件,但遇到了一个错误。这是我的代码和错误 var fh = fopen("c:\temp\MyFile.txt", 3); // Open the file for writing if (fh != -1) // If the file has been successfully opened { fwrite(fh, saveD
var fh = fopen("c:\temp\MyFile.txt", 3); // Open the file for writing
if (fh != -1) // If the file has been successfully opened
{
fwrite(fh, saveData); // Write the string to a file
fclose(fh); // Close the file
}
属性“fopen”的值为null或未定义,不是函数对象
有什么帮助吗?fopen不是JavaScript函数。JavaScript中是否存在fopen?