I think you can select the field by class. Or $('name$=-fieldname')
On Fri, 28 Apr 2017 at 19:15 shahab emami <[email protected]> wrote:

> hello
> i search for my question on google and this group by i couldn't find the
> answer.
> maybe I am not a good searcher.D
>
> i have a formset.
> there is a field for birth date in my form then as you know there are a
> few birth date field in my formset. I use this jquery plugin to add form
> dynamically:
>
> https://github.com/elo80ka/django-dynamic-formset
>
> every thing is good until now.  but because I have a date field in my form
> i want to
>
> use this jquery plugin :
>
> Datepicker | jQuery UI
>
>
>
> then user can select date from this calendar .
> but i don't now the id of date field in the form.
> how can i select it with jquery  when i don't now the id of it?
> I tried to find it with inspect element but i understood the id is
> different in every form.
> if you can tell me the idea to solving this problem or
> introduce somewhere that i can read about this i will be thankful.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/26a172d0-cd75-45e3-aa0c-f795dd40d754%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/26a172d0-cd75-45e3-aa0c-f795dd40d754%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Blog: https://haoluobo.com <http://haoluobo.com>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAATL4yxHNnBESuaFRW4skObCkjTpuBLe3%2B%2B_TD%3DbmOjjCp5M6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to