Posts: 815
Location: UK... where else?
|
Hi guys, I know this must be stupidly simple but can someone help me work out how to achive this:
I would like to have a JS file with a selection of different pieces of code in it. Then on my web page I'd like to call one of those pieces of code, at random, and display it. This would change upon page refresh.
I'd like to learn how to do this myself so am really only looking for basic pointers. I've tried googling various terms but nothing seems to be throwing up what I'm after...
Thanks
|