Is there a simple javascript pattern for showing how many characters left you can use in a fixed character text box?
Say you have a text box and you want them only to use 500 characters, twitter and stack-overflow show how many you have left as you type. I presume you can use jquery and a type event to produce a dynamic running count.
Is there an elegant pattern for this in javascript.
Yes there is tons of scripts out there. One of them is
Script taken from: http://www.mediacollege.com/internet/javascript/form/limit-characters.html