在选择上显示新的datepicker [英] show new datepicker on select
本文介绍了在选择上显示新的datepicker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有2个文本框,其中我显示日历..
所以当我选择一个文本框时,它会显示我选择日期的日历..
我想要的是,当我选择第一个文本框datepicker日历日期时,自动显示第二个文本框日历以选择日期。
i尝试
在第一个文本框的onselect功能中,我使用
$(#secondbox ).datepicker('show');
这显示日历,但在1秒内消失..
使用什么,请提供示例代码........
解决方案
(#secondbox)。datepicker('show');
这显示日历,但在1秒内消失..
使用什么,请提供示例代码........
< pre lang =Javascript>
( f unction (){
i have 2 textboxes , where i show calendar..
so when i select one textbox , it show calendar from which i select date ..
what i want is , when i select first textbox datepicker calendar date, show second textbox calendar automatically to select date .
i tried
in onselect function of first textbox , i use
$("#secondbox").datepicker('show');
This shows calendar , but disappears within 1 second..
what to use,pls provide example code ........
解决方案
("#secondbox").datepicker('show');
This shows calendar , but disappears within 1 second..
what to use,pls provide example code ........
(function () {
这篇关于在选择上显示新的datepicker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文