Articles :: Scripting

Check date in javascript

“When asking for a date in forms is a good idea validate it using Javascript in order to avoid users insert invalid days, months of years. The most powerful method to accomplish this task is using the date objects and functions provided by javascript.”