Difference between revisions of "MediaWiki:Common.js"

From The New NATO Treaty
(subscribe form insert)
 
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:


$(function () {
$(function () {
var myElement = document.getElementById('subscribe');
var myElement = document.getElementById('Subscribe');
myElement.innerHTML = '<script type="text/javascript" src="//connect.mediawrite.agency/form/generate.js?id=18"></script>';
myElement.innerHTML = "<script type='text/javascript' src='//connect.mediawrite.agency/form/generate.js?id=18'></script>";
}());
}());

Latest revision as of 08:16, 13 December 2021

/* Any JavaScript here will be loaded for all users on every page load. */

$(function () {
	var myElement = document.getElementById('Subscribe');
	myElement.innerHTML = "<script type='text/javascript' src='//connect.mediawrite.agency/form/generate.js?id=18'></script>";
}());