in the same way you do with the initial fields...
just after you create the new field do $(#idnewfield).datepicker();
Hope this help
On Wed, Oct 8, 2008 at 9:22 AM, Tim Anderson <[EMAIL PROTECTED]> wrote:
>
> Hello!
>
> I'm on Drupal and I'v creating form with fields for date picking. I
> managed to enable Datepicker and it works ok with the form field,
> until I add another input field dynamicaly (via JSON), after new field
> added, Datepicker degrades on all old field and doesn't appear on new
> ones. This is untill I reload page, after the page reloaded,
> everything is back to normal. I guess, I need to activate Datepicker
> each time I add new input field dynamically, but how to do this? I'm
> pretty novice in JS, so a bit confused. Need your help. Please.
>
> regards,
> Tim
>
> >
>
--
Perhaps the depth of love can be calibrated by the number of different
selves that are actively involved in a given relationship.
Carl Sagan (Contact)
Jaime Ochoa Malagón
Arquitecto de Soluciones
Cel: +52 (55) 1021 0774
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---