Hi there,
I am using datepickers inside several JqueryUI tabs and I can get the datepickers to work properly.
In the first tab (the one displayed by default), the datepickers are working properly but in the other tabs:
-I can't select any date (clicking on a day wont fill the associated input)
-Changing months gets me totally random results: i.e from June 2013 to June 2018 or January 1900
I am using the same class for each datepicker and once my tabs are instanciated I instanciate my datepickers.
jQuery( "#tabs" ).tabs( );
jQuery('.date').datepicker();
I have tried to used live click, as recommended in a post somewhere:
jQuery('.date').live('click', function() { jQuery(this).datepicker({showOn:'focus'}).focus(); });
But it creates me errors such as:
Uncaught TypeError: Cannot read property 'settings' of undefined
This must be a known issue... can anyone help me with that please?
Thanks a lot in advance!