Welcome Guest, Not a member yet? Register   Sign In
CJAX and CI - responses vs controllers - accessing CI goodness
#7

[eluser]Ajaxboy[/eluser]
As shown in the included ci samples, you must extend the CI_Controller in the response so that all the CI core is available to you, then preferably turn on errors on to see any errors if any.

Taken from application/response/test.php

class Test extends CI_Controller {

I also recommend firebug (for firefox) or chrome debugger (for chrome) to monitor the ajax responses. Regardless of anything else, you should always get a response back, and there is where these are used.


Messages In This Thread
CJAX and CI - responses vs controllers - accessing CI goodness - by El Forum - 04-27-2013, 10:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB