MediaWiki:Common.js: Difference between revisions

From jugglingpatterns
No edit summary
No edit summary
Line 3: Line 3:
$(function () {
$(function () {
var myPlace = document.getElementById('siteswapanimation');
var myPlace = document.getElementById('siteswapanimation');
alert(myPlace.innerHTML);
if(myPlace.innerHTML == "7531"){alert("yay");}
}());
}());

Revision as of 15:06, 14 November 2023

/* Any JavaScript here will be loaded for all users on every page load. */

$(function () {
	var myPlace = document.getElementById('siteswapanimation');
	if(myPlace.innerHTML == "7531"){alert("yay");}
}());