You are here: environment variable as part of a src path « HTML « IT news, forums, messages
environment variable as part of a src path

Posted by Glennn on 04/06/06 01:33

How would I reference an environment variable as part of the path to a
javascript file?

I've tried many variations similar to these in my head section, but so
far no success.

<script language="JavaScript" src="%MY_ENV_VAR%\bin\myScript.js"
type="text/javascript"></script>

<script language="JavaScript" src="$(MY_ENV_VAR)\bin\myScript.js"
type="text/javascript"></script>

Thanks in advance!

Glenn

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация