Difference between revisions of "MediaWiki:Common.js"
Line 3: | Line 3: | ||
var myElement = document.getElementById('jsexample'); | var myElement = document.getElementById('jsexample'); | ||
− | myElement.innerHTML = "Test | + | myElement.innerHTML = "Test"; |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}()); | }()); |
Revision as of 15:33, 3 September 2018
/* Any JavaScript here will be loaded for all users on every page load. */ $(function () { var myElement = document.getElementById('jsexample'); myElement.innerHTML = "Test"; }());