Need Public Domain Date Time Picker Div

A

Alfred

I need a calendar + time picker tool that is:

* public domain
* non-AJAX (at this time)
* javascript
* works in IE 6 and Firefox 1.5 and up
* div-based
* uses CSS too
* permits not just picking a date from the calendar and switching
months, years backwards and forwards, but also pick the time
* fairly condensed code as much as possible

Anyone using one?
 
D

Dr J R Stockton

In comp.lang.javascript message <[email protected]
I need a calendar + time picker tool that is:

* public domain
* non-AJAX (at this time)
* javascript
* works in IE 6 and Firefox 1.5 and up
* div-based
* uses CSS too
* permits not just picking a date from the calendar and switching
months, years backwards and forwards, but also pick the time
* fairly condensed code as much as possible

Anyone using one?

Unless there is a good probability of predicting what will be chosen,
the fastest date/time entry, for the user, will be like

<div class=D>Enter date and time as YYYY MM DD hh mm ss :
<input class=X type=text Name=N size=20></div>

followed by validation, for which see below. Use RegExp
/(\d{1,4})\D+(\d\d?)\D+(\d\d?)\D+(\d\d?)\D+(\d\d?)\D+(\d\d?)\D+/ for
maximum flexibility compatible with ISO field order. Consider how a
Year of two or fewer digits should be interpreted; for certainty, insist
on at least four digits there. You could make the later digit fields
optional, if choosing to the second is not mandatory.

It's a good idea to read the newsgroup c.l.j and its FAQ. See below.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top