Difference between revisions of "MediaWiki:Common.js"
Line 10: | Line 10: | ||
var myElement = document.getElementById('dropdown'); | var myElement = document.getElementById('dropdown'); | ||
myElement.innerHTML = 'any HTML'; | myElement.innerHTML = 'any HTML'; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}()); | }()); |
Revision as of 21:09, 19 February 2019
/* Any JavaScript here will be loaded for all users on every page load. */ $(function () { var myElement = document.getElementById('displayText'); myElement.innerHTML = 'any HTML'; }()); $(function () { var myElement = document.getElementById('dropdown'); myElement.innerHTML = 'any HTML'; }());