Hello,
In my template file I have
{% for value in data %}
<tr
{% ifequal all_domain 1 %}
class="odd" id="{{value.publisher}}" ????
"showDomain('{{value.publisher}}', '{{value.country}}');"
{% else %}
...................
{% endifequal %}
>
{% endfor %}
"showDomain(...)" is a JavaScript function. I would like this function
to be called in each iteration of the for-loop when all_domain == 1.
Anybody knows how to call this function? There are no events (click,
drag, mouseover, etc) here.
Thanks so much.
--
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en.