[html-formfu] Date field using Javascript date picker?

Michele Beltrame mb at cattlegrid.info
Mon Jul 14 08:07:27 BST 2008


Hi Thomas!

> Has anybody already did a Date field that's not using the current 
> three-field aproach, but rather some Javascript powered date-picker 
> widget?

Carl already replied you properly. I just wanted to add that I usually
keep JavaScript things aside from form generation, and it isn't much of
an hassle. With jQuery (and I think with most other frameworks) it's as
easy as:

$(document).ready(function() {
    $("input[@name=mydate]").datePicker();
});

Michele.

-- 
Michele Beltrame
http://www.cattlegrid.info/
ICQ 76660101 - MSN mb at italpro.net



More information about the HTML-FormFu mailing list