こんにちは、html/javascript コードに問題がありました:
function rf()
{
var fs,file;
fs = new ActiveXObject('Scripting.FileSystemObject');
file = fs.OpenTextFile('/test123.txt',2);
file.Write('The text to write to file');
file.Close();
}
</script>
<button onclick="rf()">Try it</button>
</html>
ページに移動し、ボタンをクリックしますが、成功しません。誰かが私のためにこれを修正できますか?