MediaWiki

Gadget-statistics.js

From Dogcraft Wiki

Revision as of 19:14, 4 July 2020 by Domino (talk | contribs) (Created page with "$(document).ready(function() { function testAPIEdit() { } document.getElementById('gadgetSandboxButton').innerHTML = "<div id='gadgetSandboxButton'><button type='button...")
(diff) โ† Older revision | Latest revision (diff) | Newer revision โ†’ (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (โŒ˜-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (โŒ˜-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
$(document).ready(function() {

function testAPIEdit() {
	
} 

	document.getElementById('gadgetSandboxButton').innerHTML = "<div id='gadgetSandboxButton'><button  type='button' id='gadgetSandboxButton' style='background:blue;'>Press this to get editcounts</button></div>";
	document.getElementById('gadgetSandboxButton').onclick = function() {testAPIEdit()};
});
This page was last modified on 4 July 2020, at 19:14. (12 months ago)
Background Takeshi by Edo