Difference between revisions of "MediaWiki:Common.js"
Line 4: | Line 4: | ||
var myElement = document.getElementById('jsexample'); | var myElement = document.getElementById('jsexample'); | ||
myElement.innerHTML = "Test<table><tr><td>Tag: </td><td></td> </tr> | myElement.innerHTML = "Test<table><tr><td>Tag: </td><td></td> </tr> | ||
− | + | </table>"; | |
− | |||
− | |||
− | |||
}()); | }()); |
Revision as of 15:37, 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<table><tr><td>Tag: </td><td></td> </tr> </table>"; }());