[solved] how to modify ehtmldataselect with jquery

i used ehtmldataselect widget from Yii Extension

it’s a nice widget, like facebook birthday select when signup.

but there’s no validation in this widget.

for example, when i choose 31 October 2010, it’s a valid day, and can choose day from 1-31.

but when i change the month to september, the day not changed to 1 and it should only can choose between 1-30,

because 31 september 2010 is not a valid day (according to calendar).

how i can implemented date validation in ehtmldateselect?

like jQuery Date Select Boxes Plugin

i has solved this

i combined ehtmldataselect with Facebook Like Datetime Picker