« Return to Thread: qooxdoo and jscalendar: the saga continues

RE: qooxdoo and jscalendar: the saga continues

by Jason Priebe :: Rate this Message:

Reply to Author | View in Thread

I'll update my own request.

A workaround is to get the value directly from the underlying INPUT
field.  To expand upon Steve's example code at

http://qooxdoo.oss.schlund.de/snippets/integrating-jscalendar

to get the date set by jscalendar, do this:

var xdate = document.getElementById("f_date_b").value;

this will not work:

var xdate = txtDate.getValue();

(forget about the fact that txtDate is a local var in Steve's example;
even if it were available to an event handler, the value would be null).

Hugh, you might want to add this to the document mentioned above.
Thanks!

Jason Priebe
CBC New Media


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Qooxdoo-devel mailing list
Qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 « Return to Thread: qooxdoo and jscalendar: the saga continues