From ef327f008b3e2c90ca59b2a2b51dec608252f98b Mon Sep 17 00:00:00 2001 From: james Date: Mon, 7 Mar 2011 17:48:06 +0000 Subject: [PATCH] Update the javascript based count when the page loads --- register_participants_project.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/register_participants_project.php b/register_participants_project.php index a21751e..691b401 100644 --- a/register_participants_project.php +++ b/register_participants_project.php @@ -118,6 +118,11 @@ function countwords() wordcountobj.innerHTML=wordcount; } + +$(document).ready(function() { + countwords(); + }); +