Welcome Guest, Not a member yet? Register   Sign In
Ajax request using site_url not working
#12

If your js is in an external file with the .js extension, then it won't parse any php within it as it's not a .php extension.

But I'm not sure why you need base_url() at all...just use "/controller/method" for the url starting with just a /.
Reply


Messages In This Thread
RE: Ajax request using site_url not working - by CroNiX - 01-21-2015, 02:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB