开发者

Pick date from three selects

开发者 https://www.devze.com 2023-03-07 01:39 出处:网络
I would like to write a date picking mechanism like this. Has anyone used this plugin? I would like to know if I have to populate my 3 selects ( birthDay, birthMonth and birthYear) with days, mont

I would like to write a date picking mechanism like this.

Has anyone used this plugin?

I would like to know if I have to populate my 3 selects ( birthDay, birthMonth and birthYear) with days, months and years values? If so, what is a b开发者_Python百科est way to do that?


Have you tried looking at the jQuery datepicker widget?

Admittedly, it doesn't use selects as interface elements, but it has a very polished interface that's (arguably) even easier to use, and you can easily parse the month, day and year out of the chosen value and use them to populate hidden inputs if your server-side code expects the three values separately.

0

精彩评论

暂无评论...
验证码 换一张
取 消