User:Drew1200/CharacterCount.js

/*Button Press Counter for Wikia Chat - Written by Drew1200.*/ $(document).ready(function {   var count = 0;    $('textarea').keypress(function(event){ var key_code = event.keyCode ? event.keyCode : event.which; $("#ChatHeader .username").html(++count + " characters typed - " + wgUserName); }); });