>> And it's also a good idea to put JS code in an external file like that : >> <script type="text/javascript" src="code.js"></script> > > This is not possible, as we have to generate the js code per page request.
You can also try <script type="text/javascript" src="code.php"></script>and use a php file to generate js file, instead of abovementioned methods.
_______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal