On 2 Aug 2009, at 15:40, Steve Onnis wrote:
If you need to have a config process for the application then you should look at using a <script src="jsVars.php"> and use the php process to create
your config js to be used through the client side.

I will probably end up doing something like this: either in a separate file or in the HTML page. It just feels "dirty" to be generating code for one language from another language, rather than some "proper" way to transfer data. But I completely admit this feeling by itself could be a bad reason...


Michal.

Reply via email to