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 django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to