User:Tuxology/common.js

var a = $("#bodyContent").text; var wCount = a.split(" ").length; var $wordOutput = $(" Word Count: " + wCount + " ").css("font-size", "large"); $( "#bodyContent" ).prepend($wordOutput);