Is it possible to append the content of an uploaded text file to a <table>, and not its name? I guess, I want to open the uploaded txt file, parse and added the content to the table on the same page. Here is where I’m at right now. 🙁
Thanks so much in advance.
Is it possible to append the content of an uploaded text file to a
Share
Sadly you can’t do this. In order to do something like this you need some server side code.
The main issue is one of security — local javascript can’t look at local files. The upload button can only send the file to the server not the local javascript.
Typically people solve this problem using flash which does not have the same security requirements — or a local program.