MediaWiki:Common.js

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

var myTable = document.getElementById("myTable"); var myRows = myTable.rows.length; document.getElementById("myTotal").innerHTML = myRows - 1;