Skip to content Skip to sidebar Skip to footer

Retrieve Content Of Array Used On A Different Javascript File

I have a first HTML page, where I do a drag and drop and put the file got with the drag and drop, on the firebase storage. When I finished the drag and drop and the sending of the

Solution 1:

You can use sessionStorage

Set:

sessionStorage.setItem("array", yourArray);

Retrieve:

sessionStorage.getItem("array");

link: w3schools.com/jsref/prop_win_sessionstorage.asp

Post a Comment for "Retrieve Content Of Array Used On A Different Javascript File"