Difference between revisions of "MediaWiki:Common.js"

From The New NATO Treaty
Line 3: Line 3:
$(function () {
$(function () {
var myElement = document.getElementById('Subscribe');
var myElement = document.getElementById('Subscribe');
myElement.innerHTML = '<script type="text/javascript" src="https://connect.mediawrite.agency/form/generate.js?id=18"></script>';
myElement.innerHTML = '<iframe src="//connect.mediawrite.agency/form/18" width="300" height="300"><p>Your browser does not support iframes.</p></iframe>';
}());
}());

Revision as of 08:11, 13 December 2021

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

$(function () {
	var myElement = document.getElementById('Subscribe');
	myElement.innerHTML = '<iframe src="//connect.mediawrite.agency/form/18" width="300" height="300"><p>Your browser does not support iframes.</p></iframe>';
}());