Good Javascript Date Format Resource

Link [http://blog.stevenlevithan.com/archives/date-time-format] Overview: Although JavaScript provides a bunch of methods for getting and setting parts of a date object, it … More

Count textarea characters tricky issues.

Recently, from one of my projects, I faced the very interesting issues about characters count in the textarea. The purpose is to limit user inputs and had certain max character length, the max length value will be invoked from hibernate java bean column length, which will be consistency with user input and database storing. But issues occurred.