General Interface is an open source project hosted by the Dojo Foundation

Event on date picker

Event on date picker

Postby sumit1286 » Sun Feb 26, 2012 8:55 pm

I have two date components and I want to calculate number of days from selected dates.
As soon as the value of date component changes , number of days should also change without any button click.

Which event I have to use??


Thanks,
Sumit
sumit1286
1-Star
1-Star
 
Posts: 18
Joined: Mon Mar 28, 2011 10:00 pm

Re: Event on date picker

Postby dhwang » Thu Mar 08, 2012 11:46 am

Date picker has a "Change" event. Remember to use the "newDATE" value though.
User avatar
dhwang (Darren Hwang)
GI Committer
GI Committer
 
Posts: 706
Joined: Thu Jun 04, 2009 10:09 am
Location: Palo Alto


Return to GI Developers

Who is online

Users browsing this forum: No registered users and 2 guests

cron