readAsText is asynchronous, so you would need to use the onload callback to see the result. Try something like this, var fr = new FileReader(); fr.onload ...
確定! 回上一頁