11
rated 0 times
[
12]
[
1]
/ answers: 1 / hits: 17349
/ 13 Years ago, tue, september 13, 2011, 12:00:00
I have an external textfile of variable length named profiles.txt with information in the following format:
Jason/Red/Tyrannosaurus
Zack/Black/Mastodon
Billy/Blue/Triceratops
Trini/Yellow/Griffin
(etc)
How can I read through the file using JavaScript to output the following HTML:
Name: Jason<br>
Color: Red<br>
Avatar: Tyrannosaurus<br>
<br>
Name: Zack<br>
Color: Black<br>
Avatar: Mastodon<br>
<br>
(etc)
More From » html