Sunday, December 27, 2009

JavaScript function call

Hello,

I just wonder if somebody has met this problem. I need to call a
javaScript function within "<tr.....>".

{% for v in data %}
<tr class="odd"
id="{{v.publisher_id}}"
<script type="text/javascript"
language="JavaScript">
showDomainTable
('{{v.publisher_id}}', '{{v.country_id}}');
</script>
>

This works well with Firebox but not with IE 8. IE just prints
"showDomainTable(...)" instead of calling it.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate