[eluser]See64[/eluser]
I want to dynamically change the
external javascript file that's been included with each pageload, to get something similar as this:
Code:
alert("<?=$variable_set_in_ci?>");
All variables set with CI are unset when I try this. How can I fix this?
The other solution would be generating the javascript and echo'ing it at the bottom of the body... seems like an ugly fix.