Hi.
I need to load the contents of a file into a textarea with Javascript.
The name of the Textarea is files.
The file is located at cgi-bin/anti-leech/logs/files.txt.
Printable View
Hi.
I need to load the contents of a file into a textarea with Javascript.
The name of the Textarea is files.
The file is located at cgi-bin/anti-leech/logs/files.txt.
you can't with client-side Javascript.
The best you can do is probably a floating frame
(IE4 or higher and NS6)
Code:<iframe src=cgi-bin/anti-leech/logs/files.txt> </iframe>