MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
(Replaced content with "mw.loader.load('http://dev.wikia.com/load.php?mode=articles&articles=MediaWiki:Tooltips.js&only=scripts');") |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
$(function () { | |||
var myElement = document.getElementById('mw-coords-form'); | |||
myElement.innerHTML = ' | |||
<form name="myForm" action="/action_page.php" onsubmit="return validateForm()" method="post"> | |||
Name: <input type="text" name="fname"> | |||
<input type="submit" value="Submit"> | |||
</form> | |||
'; | |||
}()); | |||
Latest revision as of 22:58, 6 February 2018
$(function () {
var myElement = document.getElementById('mw-coords-form');
myElement.innerHTML = '
<form name="myForm" action="/action_page.php" onsubmit="return validateForm()" method="post">
Name: <input type="text" name="fname">
<input type="submit" value="Submit">
</form>
';
}());