Welcome Guest, Not a member yet? Register   Sign In
External JS with CI / PHP
#1

[eluser]mjstenbe[/eluser]
I moved all my JS code to an external file. Now I have issues with AJAX functions referring to <?php echo base_url();?>. Any good advice on how to deal with these? I'd rather not hardcode any paths to my application.

What would be the ideal location for external JS and CSS files? Now Im using /system/application/libraries?

Any tips are welcome.

Thanks,
Mika


Messages In This Thread
External JS with CI / PHP - by El Forum - 03-17-2010, 05:57 AM
External JS with CI / PHP - by El Forum - 03-17-2010, 06:22 AM
External JS with CI / PHP - by El Forum - 03-17-2010, 06:57 AM
External JS with CI / PHP - by El Forum - 03-17-2010, 07:05 AM
External JS with CI / PHP - by El Forum - 03-17-2010, 07:13 AM
External JS with CI / PHP - by El Forum - 03-17-2010, 07:25 AM
External JS with CI / PHP - by El Forum - 03-17-2010, 07:30 AM
External JS with CI / PHP - by El Forum - 03-17-2010, 09:21 PM
External JS with CI / PHP - by El Forum - 03-18-2010, 12:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB