SankhaUI / jquery-datepicker

Automatically exported from code.google.com/p/jquery-datepicker
0 stars 0 forks source link

Date Picker is not loading while swiching tabs #366

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Kelvin,
I added the datepicker into of my pages like this:

$('#datepickerdiv').datePickerMultiMonth(
{
  numMonths: 3,
  inline: true,
  selectMultiple: true
}
).bind(
'dateSelected',
function (event, dates, $td, status) {
  selectedDate += dates.asString() + " ";
  alert(selectedDate);
  // uncomment if you have firebug and want to confirm this works as expected...
  //console.log('dateSelected', arguments);
});
    });

The page where I added datepicker is within one of tabs.So when i click on 
another tab and click back to previous tabs the datepicker is not showing, the 
div where i add the datepicke plugin is empty now.I had attached the screen 
shot of problem along this email.

Thanks
Sabin

Original issue reported on code.google.com by pradhan....@gmail.com on 27 Mar 2013 at 3:26

Attachments:

SankhaUI commented 9 years ago

I also had the same issue. So I created to triggers one on the page load and another on the tab change script. If you share the code then may be I will resolved your issue,Thanks