I\'m learning javascript, xml, and html. For a homework assignment, I need to retrieve some data from some nodes of a XML file, concatenate the data, and store the concaten
You can use the setItem() to set a value to the localStorage and getItem() to retrieve it
Ex:
localStorage.setItem('mykey', 'somevalue')
Demo: Fiddle