Good morning everyone,
I wonder how I can do (and if it is possible), pass a value of javascript variable to a template tag Django.
eg
how it works:
{{Document.id | split_filter}} -> split_filter is just a random method, receives an ID
as would
{{"Value Var JS" | split_filter}} -> pass the id that comes from a JS variable to the template tag.
Thanks.
Mário Idival
Twitter : @marioigd
Facebook: mario.idival
User Linux : #554446
Skype: marioidival
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment