Difference between revisions of "MediaWiki:Common.js"
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: $(function () { var myElement = document.getElementById('mw-mywiki-example'); myElement.innerH...") |
|||
Line 3: | Line 3: | ||
$(function () { | $(function () { | ||
− | var myElement = document.getElementById(' | + | var myElement = document.getElementById('dropdown'); |
myElement.innerHTML = 'any HTML'; | myElement.innerHTML = 'any HTML'; | ||
}()); | }()); |
Revision as of 20:44, 19 February 2019
/* Any JavaScript here will be loaded for all users on every page load. */ $(function () { var myElement = document.getElementById('dropdown'); myElement.innerHTML = 'any HTML'; }());