开发者

thickbox and jquery ui datepicker

i am using thickbox with jquery ui datepicker in one of my asp.net page, the datepicker is not visible , i changed the z index of the da开发者_如何学Ctepicker also but nothing is coming out, what should i do


You should initialize the date picker (calling the plugin function) AFTER thickbox appears. Usually a delayed call on the link opening the thickbox will do, example:

$("#thickbox_link").click(function(){
    setTimeout(function(){ 
        $("#datepickerdiv").datepicker();
    }, 100);
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜