It helped a lot, it solved my problem. Thank you.
2010/1/12 Nick Knickerbocker <nick.knickerboc...@gmail.com> > I ran into this issue myself and found two things that cause "inst is > undefined". Both situations typically result from using the jquery > clone() method either directly or as a side effect of some jquery > library: > > 1. If you initialize datepicker on an element that already has class > "hasDatepicker", datepicker will think the initialization has already > happened. > 2. If you initialize datepicker on an element that has the same id as > another element on the page, datepicker is prone to grab the > uninitialized element by id while operating on the initialized > element. > > Hope that helps, > Nick > > > On Dec 20 2009, 10:27 pm, Shaaa <shafraz.m...@gmail.com> wrote: > > I also have the same issue... > > > > When i create new datepicker element with append() datepicker works > > fine. But when i chose the date for new element it affects in the > > first element. > > > > Any solutions will be appreciated. > > > > On Dec 8, 3:46 am, "k...@beza" <kab...@gmail.com> wrote: > > > > > I'musinga jQuery plugin dynamic form that allows me to add and > > > remove fields to the form dynamically > > > > > I have a group of fields. One of these fields is a jQueryUIdatePicker. > When I clone the group, its fields are renamed so when I > > > post I receive all field groups as arrays > > > > > ======== > > > How can I make all thedatePickerfields to work and not loose > > > instance when the field names are renamed? How can I assure that every > > > field keeps its instance so I don't get > > > ======== > > > > >instisundefined > > > uncaught exception: Missing instance data for thisdatepicker > > > > > I run this each time i add or remove a group, but doesn't work. some > > > fields still give me the errors > > > > > jQuery(".datefieldclass").each(function() { > > > jQuery(this).datepicker(); > > > > > }); > > -- > You received this message because you are subscribed to the Google Groups > "jQuery UI" group. > To post to this group, send email to jquery...@googlegroups.com. > To unsubscribe from this group, send email to > jquery-ui+unsubscr...@googlegroups.com<jquery-ui%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/jquery-ui?hl=en. > > > > -- AVISO LEGAL: A información que puidese conter esta comunicación é privada e confidencial, e en todo o que concerne a datos persoais, non poderá ser utilizada para un fin distinto do que a orixinou e deberá estar sometida á máis absoluta confidencialidade, quedando prohibida a calquera persoa a súa revelación, copia ou distribución, todo iso de acordo á Lei Orgánica 15/1999 de Protección de Datos de Carácter Persoal. Se vostede non é o destinatario orixinal desta mensaxe e por este medio puido acceder a devandita información por favor elimine a mensaxe. A transmisión de e-mails non garante que o correo electrónico sexa seguro ou libre de erro. Por conseguinte, non manifestamos que esta información sexa completa ou precisa. Toda información esta suxeita a alterarse sen previo aviso.--
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.