js file

i would like to load the text variable for a combobox from an external file (perhaps a .js file.) For example,

var = ["Home", "Favorites", "Font size", "Search"]

would reside in a js file and would load along with the main page.

I have tried <script src="mypage.js></script> in the header and the body but it doesn't work. Can it be done?

PS. my whole page is defined between <script> and </script>. No html code is used.
ira berkowitz
February 11,

This topic is archived.

See also:

Back to support forum