Top Tutorials
This will put the current date and time in a text field as a running clock. Also a button to set the clock will grab the current time and just display it as a static value; useful when you are timing an event. The clock string can be formatted any way you want it. It is just a matter of extracting the desired pieces from the date object. Because it is in a form field, it also means you can include the exact date of submission right off the form as well.
|
Trackback
|
Tags:
programming
forms
web
All
| Add this link to...
Add to: My Bookmarks | del.icio.us | Spurl | Blinklist
There are many examples of client side validation of date fields. Writing code to validate a date in JavaScript can turn into a large an ugly experience. That is why there are so many examples. Without a doubt, the fastest and best way to validate a field is by use of JavaScript's regular expression object. The hard part is coming up with a good regular expression to validate a date.
|
Trackback
|
Tags:
web
programming
forms
All
| Add this link to...
Add to: My Bookmarks | del.icio.us | Spurl | Blinklist