|
Add this to the bottom of the Edit User Profile template file: <script type="text/javascript"> $(document).ready(function() { var max = $('textarea[name="signature"]').attr('maxlength'), count = max - $('textarea[name="signature"]').val().length; $('a#signature_preview').after(' - Characters remaining: <span id="counter">' + count + '</span>'); $('textarea[name="signature"]').bind('keyup', function() { count = $(this).val().length; var remaining = max - count; $('span#counter').html(remaining); }); }); </script> This is a built in feature in my Signature Manager plugin, so be sure to check that out if you want more control over your forum signatures.
Last Edit: Mar 28, 2013 15:31:08 GMT by Aaron
|
|
|
|
Thanks for this man
|
|
|