MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Created page with "→Any JavaScript here will be loaded for all users on every page load.: $(function() { $('.epiphanycompanycontactinfo').each(function(i, ob) { var ht = $(ob).data('helptype'); var id = parseInt($(ob).data('id')); $.get("https://epiphanywiki.crystalcomputer.com/extensions/EpiphanyHelpText/epiphanycontactinfo?ht=" + ht + "&hid=" + id, function(htm) { $(ob).html(htm); }); }); });" |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
var ht = $(ob).data('helptype'); | var ht = $(ob).data('helptype'); | ||
var id = parseInt($(ob).data('id')); | var id = parseInt($(ob).data('id')); | ||
$.get("https:// | $.get("https://wiki.crystalcomputer.com/extensions/EpiphanyCompanyContactInfo/companycontactinfo.php?ht=" + ht + "&hid=" + id, function(htm) { | ||
$(ob).html(htm); | $(ob).html(htm); | ||
}); | }); | ||
}); | }); | ||
}); | }); | ||
Latest revision as of 14:32, 4 May 2023
/* Any JavaScript here will be loaded for all users on every page load. */
$(function() {
$('.epiphanycompanycontactinfo').each(function(i, ob) {
var ht = $(ob).data('helptype');
var id = parseInt($(ob).data('id'));
$.get("https://wiki.crystalcomputer.com/extensions/EpiphanyCompanyContactInfo/companycontactinfo.php?ht=" + ht + "&hid=" + id, function(htm) {
$(ob).html(htm);
});
});
});