Welcome Guest, Not a member yet? Register   Sign In
How to Pass Config Information to JS?
#2

[eluser]Buso[/eluser]
for base url you can just use the html tag <base> http://www.w3schools.com/TAGS/tag_base.asp

the other settings I pass them via CI as you said, just add a view that contains js, and set everything there in js vars


Messages In This Thread
How to Pass Config Information to JS? - by El Forum - 09-08-2010, 03:31 PM
How to Pass Config Information to JS? - by El Forum - 09-08-2010, 05:38 PM
How to Pass Config Information to JS? - by El Forum - 09-08-2010, 06:30 PM
How to Pass Config Information to JS? - by El Forum - 09-08-2010, 06:51 PM
How to Pass Config Information to JS? - by El Forum - 09-09-2010, 08:16 AM
How to Pass Config Information to JS? - by El Forum - 09-09-2010, 11:37 AM
How to Pass Config Information to JS? - by El Forum - 09-09-2010, 04:29 PM
How to Pass Config Information to JS? - by El Forum - 09-09-2010, 05:09 PM
How to Pass Config Information to JS? - by El Forum - 09-09-2010, 05:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB