views:

177

answers:

1

hi, 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 datepicker also but nothing is coming out, what should i do

A: 

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);
});
Makram Saleh
will try and get back, meanwhile i found another thing lightwindow which is doing the same job but it is not hurting the ui datepicker. so i am started to using that.
sansknwoledge