MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
$('#mw-mywiki-test').html('< | $('#mw-mywiki-test').html('<html><script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js" type="text/javascript"></script><script src="http://dev.d20futurepath.com/roller.js" type="text/javascript"></script><body><p>Please input the dice IE: d20+d4:</p><input id="dice"><button type="button" onclick="myFunction()">Submit</button><p id="diceRoll"></p></body></html>'); | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js" type="text/javascript"></script> | |||
<script src="http://dev.d20futurepath.com/roller.js" type="text/javascript"></script> | |||
<body> | |||
<p>Please input the dice IE: d20+d4:</p> | |||
<input id="dice"> | |||
<button type="button" onclick="myFunction()">Submit</button> | |||
<p id="diceRoll"></p> | |||
</body> | |||
</html>'); |
Latest revision as of 06:29, 10 August 2016
/* Any JavaScript here will be loaded for all users on every page load. */ $('#mw-mywiki-test').html('<html><script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js" type="text/javascript"></script><script src="http://dev.d20futurepath.com/roller.js" type="text/javascript"></script><body><p>Please input the dice IE: d20+d4:</p><input id="dice"><button type="button" onclick="myFunction()">Submit</button><p id="diceRoll"></p></body></html>');