I have a javascript quiz webpage... that loads the questions and answers
from a .js file...
at this time i use the following to call the data
<script src="quiz_a.js" ></script>
this works fine, but I'd like a new lot of data to be used each day...
i have the javascript code to number each day of the year from 1 to 356 (or
days in the year)
what i would like to do is find some way to rename the .js file that is
called each day...
eg, on the first day of the year call up "001.js", on the second day call
"002.js", and so on
any help, clues, or tips ... thanks...
from a .js file...
at this time i use the following to call the data
<script src="quiz_a.js" ></script>
this works fine, but I'd like a new lot of data to be used each day...
i have the javascript code to number each day of the year from 1 to 356 (or
days in the year)
what i would like to do is find some way to rename the .js file that is
called each day...
eg, on the first day of the year call up "001.js", on the second day call
"002.js", and so on
any help, clues, or tips ... thanks...
Comment