Where and how do I include .js files in Views in CodeIgniter?
I have tried this:
There is a lesser-known solution that works really well with clean syntax and much more portability than hard-coding URL's or relative files.
Read more about how, what, why on my article "Asset handling in CodeIgniter with the BASE tag".