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
> ========
>
> inst is undefined
> 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.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to