将.JS文件日历设置为根据下拉列表选定项目弹出月份 [英] Set .JS file calendar to pop-up the month based on dropdownlist selected item
本文介绍了将.JS文件日历设置为根据下拉列表选定项目弹出月份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI全部,
我有JS日历和dorp-down列表,即包含所有月份的名称(Jan,Feb ... Dec),当我点击js calendar它弹出'并且默认它显示当前月份。但是我的要求是当我在下拉列表中选择特定月份时,即当我选择js日历时,同一个月应该弹出窗口
示例:当我在下拉列表中选择1月份时,点击JS日历,它应该弹出1月份的caendar而不是显示当前月份(3月)
解决方案
http://stackoverflow.com/questions/499405/change-the-selected-value-of-a-drop-down-list-with-jquery [ ^ ]
查看此链接
HI All,
I have JS Calendar and dorp-down list i.e contains names of all the months(Jan,Feb..Dec),when i click on js calendar it pop-up''s and by default it shows the current month.But my requirement is when i select particular month in drop-down list i.e same month should get pop-up when i select the js calendar
Example:When I select January Month in Drop downlist,And click on JS Calendar it should pop-up the january caendar instead of showing current month(March)解决方案http://stackoverflow.com/questions/499405/change-the-selected-value-of-a-drop-down-list-with-jquery[^]
check this link
这篇关于将.JS文件日历设置为根据下拉列表选定项目弹出月份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文