What previous result you are referencing:(Optional) function getSize() { var myFSO = new ActiveXObject("Scripting.FileSystemObject"); var filepath = document.upload.file.value; var thefile = myFSO.getFile(filepath); var size = thefile.size; alert(size + " bytes"); }
A user input some Javascript code, but the code can not be displayed as plain text within
<pre></pre>
, how to solve this problem?