2012-07-19 2 views
-1

aspx 페이지에서 javacript 파일에 쓰려고하는데 오류가 발생합니다. 여기 내 코드와 오류가 있습니다.fopen 오류, null 속성

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'속성 값은 Function 개체가 아니라 null이거나 정의되지 않았습니다.

어떤 도움이 필요합니까?

+1

자바 스크립트에 fopen이 있습니까? –

답변

2

fopen은 (는) 자바 스크립트 기능이 아닙니다.