Hi Kevin, Thanks so much for your replies. Following your suggestions I have moved tag <script> out of <tr>.
<tr class="odd" id="{{v.publisher_id}}"> <script type="text/javascript"> showDomainTable('{{v.publisher_id}}', '{{v.country_id}}'); </script> </tr> Sorry I do not know jQuery. For the moment let me follow your suggestions and move forward. If I can not succeed then I will consider jQuery. Thanks again. Appreciated. On Dec 28, 2:31 am, Masklinn <maskl...@masklinn.net> wrote: > On 28 déc. 2009, at 10:26, Kevin Renskers <i...@bolhoed.net> wrote: > > > But even then, inline javascript is something better avoided. > > Especially, in this case, because there is no garantee whatsoever that > the element has already been created and added to the document's DOM. -- 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.