diff options
Diffstat (limited to 'static/website/templates/header.html')
-rw-r--r-- | static/website/templates/header.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/static/website/templates/header.html b/static/website/templates/header.html index fe1ffb4..a6b3c50 100644 --- a/static/website/templates/header.html +++ b/static/website/templates/header.html @@ -33,6 +33,12 @@ jQuery(document).ready(function($){ }); </script> + <script> + function countChar(val) { + var len = val.value.length; + var count = $('#charNum').text(0 + len); + }; + </script> </head> {% endblock %} |