Hi.

I have to fill JavaScript array using PHPTAL attributes.

Whether I can use some <span ...tal-attributes here..></span> inside
<script></script> construction?

Example:

<script language="JavaScript">
   items = array(
       <span ..PHPTAL loop here...>
           <span tal:replace ...writing item values to fill JavaScript
array...></span>
       </span>
   )
</script>


If I can't do so, have you any idea about how to do it?

Thanks,
Anton
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to