Save xml file data in a javascript variable

DeCode

New Member
i searched on my problem and found a lot of useful stuff which i already used.This is the plan:I want to load data from an xml file into a javascript variable. A DOMParser function which reads the xml data pushes it into an array, so i can get random elements from the array later.To understand what i want to do: I want to load random youtube videos. The links/endings of the videos are stored in the xml file like "d_HvwKtsy_Q". After a video ends it should start the next one right away. I already figured out how to do this in the YT api.. i just need to load the xml file into a variable, so i can edit it in a extern xml file.This is what i
 
Back
Top