MediaWiki:CharCount.js: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
$(function () {
$(function () {
var myPlace = document.getElementById('CharCount');
$('#CharCount').html(' <!DOCTYPE HTML>
myPlace.innerHTML = ' <!DOCTYPE HTML>
<head>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
Line 112: Line 111:


</body>
</body>
</html>';
</html> ';
 
$(function getID(id) {
$(function getID(id) {
return document.getElementById(id);
return document.getElementById(id);
Line 227: Line 225:
updateOutput();
updateOutput();
}
}
);
}());