Hello,
Just one question: from a php file, can we send an array to a JS script using a phpBB template variable?
http://area51.phpbb.com/docs/coding-gui ... #templates
I guess no, but I want to make sure.
Thanks!
Array to Javascript?
Array to Javascript?
Eternal newbie
- Highway of Life
- Registered User
- Posts: 1399
- Joined: Tue Feb 08, 2005 10:18 pm
- Location: I'd love to change the World, but they won't give me the Source Code
- Contact:
Re: Array to Javascript?
There is no special code for handling JavaScript, so it’d be basically whatever you assign to the variable is what you can use in JavaScript or the Template. They would both be the same.
- Highway of Life
- Registered User
- Posts: 1399
- Joined: Tue Feb 08, 2005 10:18 pm
- Location: I'd love to change the World, but they won't give me the Source Code
- Contact: