Welcome Guest, Not a member yet? Register   Sign In
Jquery ajax and CI not working
#6

[eluser]cryogenix[/eluser]
yes you can by using:

Code:
header('Content-Type: text/javascript');

and then save your js file with a .php extension. and then naturally call your php (js) like a regular javascript file like:

Code:
[script type="text/javascript" src="yourphpjs.php"][/script]


Messages In This Thread
Jquery ajax and CI not working - by El Forum - 11-25-2010, 10:15 AM
Jquery ajax and CI not working - by El Forum - 11-25-2010, 12:20 PM
Jquery ajax and CI not working - by El Forum - 11-25-2010, 02:25 PM
Jquery ajax and CI not working - by El Forum - 11-25-2010, 02:55 PM
Jquery ajax and CI not working - by El Forum - 11-25-2010, 05:35 PM
Jquery ajax and CI not working - by El Forum - 11-25-2010, 05:47 PM
Jquery ajax and CI not working - by El Forum - 11-25-2010, 07:32 PM
Jquery ajax and CI not working - by El Forum - 11-25-2010, 07:35 PM
Jquery ajax and CI not working - by El Forum - 11-25-2010, 07:43 PM
Jquery ajax and CI not working - by El Forum - 11-26-2010, 12:59 AM
Jquery ajax and CI not working - by El Forum - 11-26-2010, 11:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB