I'm creating a website that has a two buttons as an icon.
- one button will have the user go to any random url in my XML file. My XML file has hundreds of urls in it that looks like this:
- and the other button will have the user go back to the last random url that was generated.
I've tried many different ways of doing this including XMLHTTPRequest and I can't seem to get it working.