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