readAsText is asynchronous, so you would need to use the onload ... simple file input and a file reader that reads the file with FileReader.
確定! 回上一頁