More actions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
var randomValue = a[Math.floor(a.length * Math.random())]; | var randomValue = a[Math.floor(a.length * Math.random())]; | ||
document.getElementById("footer-info").innerHTML = document.getElementById("footer-info").innerHTML + randomValue; | document.getElementById("footer-info").innerHTML = document.getElementById("footer-info").innerHTML + randomValue + " [[Test]]"; |
Revision as of 01:52, 21 January 2016
/* Any JavaScript here will be loaded for all users on every page load. */
var a = ['a', 'b', 'c', 'd', 'e', 'f'];
var randomValue = a[Math.floor(a.length * Math.random())];
document.getElementById("footer-info").innerHTML = document.getElementById("footer-info").innerHTML + randomValue + " [[Test]]";