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');
myPlace.innerHTML = 'any HTML';
myPlace.innerHTML = '<pre>' + myPlace.innerHTML + '</pre>';
}());
}());

Revision as of 15:02, 14 November 2023

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

$(function () {
	var myPlace = document.getElementById('siteswapanimation');
	myPlace.innerHTML = '<pre>' + myPlace.innerHTML + '</pre>';
}());