[eluser]cahva[/eluser]
You can and then use for example config_item('js_url') in the views. But ask yourself if its necessary as you can use these in the views:
[eluser]Julia Yan[/eluser]
Thanks I mean how set the URL as
< script src="<?=js_url() ?>"></ script> instead of
< script src="<?=base_url() ?>js/script.js"></ script>
[eluser]cmgmyr[/eluser]
If you want to use js_url() you will have to create it, probably in a helper function. So you can either do that, use the 2 examples that cahva made, or output the variable using: