Hi,

I have this function for a table form:

                $('#newDraftLine').click(function(){
                        var row = $('#draft tr:last');
                        var copy = row.clone();
                        copy.insertAfter(row);
                        copy.find('.datepicker').attr('id','').datepicker();
                });

Why is it that the datepicker does not work when the cloned input is
in focus? For all elements in place when the page loads it works, but
for this cloned element nothing happens. I can see that the input is
assigned an id utilized by the datepicker.

If this turns out to be a newbie question, please bare with me. I have
used mootools for a few years now, but recently decided to start using
jquery.

Thanks

Reply via email to