I have a text file which contains a list of words. I would like to open it, read it line by line and save its content as a string list, so that each word becomes an elemetn of thes string list. The I need to shuffle it to randomise the order. Could someone please explain me how to do this with JavaScript? I am very lost and would be very grateful for any help.
<head> <title>Read Text File</title> </head> <body> <input type="file" name="inputfile" id="inputfile"> <br> <pre id="output">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)