Difference between revisions of "MediaWiki:Common.js"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 4: | Line 4: | ||
var myElement = document.getElementById('mw-hello-world'); | var myElement = document.getElementById('mw-hello-world'); | ||
− | myElement.innerHTML = '<html> | + | myElement.innerHTML = '<html>Hello World!!!</html>'; |
− | |||
− | |||
− | |||
}()); | }()); |
Revision as of 20:20, 12 April 2019
/* 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>';
}());