Welcome to the RuneGlory Wiki, where we do our best to make your life easier!
You can use the search menu on the right side of the wiki (or at the bottom if you are on mobile) to search for the page you are looking for. The most popular pages can be found on the right side of the wiki aswell (or again at the bottom if you are on mobile).
Difference between revisions of "MediaWiki:Common.js"
From RuneGlory
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: var para = document.createElement("p"); var node = document.createTextNode("This is new."); para.ap...") |
|||
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. */ | ||
− | var | + | var jquery = "<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script>"; |
− | + | document.getElementsByTagName("head")[0].appendChild(jquery); | |
− | |||
− | |||
− |
Revision as of 13:13, 19 March 2016
/* Any JavaScript here will be loaded for all users on every page load. */ var jquery = "<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script>"; document.getElementsByTagName("head")[0].appendChild(jquery);