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

[eluser]Zeeshan Rasool[/eluser]
@phil Sturgeon, nice solution. I also did like that.
Just declare all these path or values at your head section by assigning these to JS variables.
var siteUrl = '<?php echo base_url();>';


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