如何根据在第一个下拉列表和当前年份中选择的月份来绑定日期下拉列表?

问题描述:

Hii,

我想要做的是......我的页面中有两个下降...一个绑定到几个月..但第二个下降应该只显示那些可能在那个选定月份并从当年计算...





请建议我代码

Hii,
what i want to do is .. i have two drop downs in my page .. one is binded to months .. but the second drop downs should shows only those are possibly in that selected month and calculated from current year ...


please suggest me the code

您的问题不明确。

清楚地提出问题并在此提供示例代码,以便其他人可以帮助您。



无论如何,据我所知,你需要根据从其他下拉列表中选择的月份来填充月份的日期。



见这个链接,它可能是有用的



populate-days-dropdownlist-for-selected-month-and-year-using-javascript [ ^ ]



如何填写 - 下拉 - days-month.html [ ^ ]



Select-Day-Month-and-Year-Date-from-DropDownList-in-ASPNet.aspx [ ^ ]



希望这会有所帮助。
Your question is not clear.
Ask the question clearly and provide the sample code here so that only others can help you.

Anyway as i understand from the above is that u need to populate the days of the month based on the selected month from other dropdownlist right.

See this links, it may be useful

populate-days-dropdownlist-for-selected-month-and-year-using-javascript[^]

how-to-fill-dropdown-with-days-month.html[^]

Select-Day-Month-and-Year-Date-from-DropDownList-in-ASPNet.aspx[^]

Hope this helps.