Difference between revisions of "MediaWiki:Common.js"

From Recidemia
Jump to: navigation, search
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
 +
(function () {
 +
 +
  var myElement = document.getElementById('mw-hello-world');
 +
  myElement.innerHTML = '<html>Hello World!!!</html>';
 +
 +
}());

Revision as of 13:11, 20 April 2018

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

  var myElement = document.getElementById('mw-hello-world');
  myElement.innerHTML = '<html>Hello World!!!</html>';

}());