MediaWiki:Common.js: Difference between revisions
From AoP Wiki
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: function myFunction() { var x, y, z, a, text, text2, text3; x = document.getElementById("numb").value; y = 250+(550+150*(x-2))*(x-1); z = 5+0.5*(x-1); a = 5+0.2*(x-1); text = y; text2 = z; text3 = a; document.getElementById("demo").innerHTML = text; document.getElementById("demo2").innerHTML = text2; document.getElementById("demo3").innerHTML = text3; } $(function () { if ($(...") |
(Replaced content with "→Any JavaScript here will be loaded for all users on every page load.: importScript('MediaWiki:Calculators.js');") Tag: Replaced |
||
(13 intermediate revisions 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. */ | ||
importScript('MediaWiki:Calculators.js'); | |||