Can someone post a simple example showing how to use datejs with a form input

64 views
Skip to first unread message

choicemedia

unread,
Nov 24, 2009, 3:54:50 AM11/24/09
to Datejs - A JavaScript Date Library
I'm trying to incorporate Datejs into a form I'm building, and I'd
basically like to replicate the "Mad Skillz" example from the datejs
homepage. The form asks for a date for an event to start, which I'd
need to pass as a variable to a mysql database (using PHP).

Could someone please post a simple implementation of this (not the sql
query, just how to incorporate it into the form and create a
variable)?

Ideally, the user should be able to input both date and time (ie,
'Friday at 8pm' or 'December 11 at 10pm')

Sorry for the total noob question, just having trouble wrapping my
head around this.
Reply all
Reply to author
Forward
0 new messages