Ajax Framework (CJAX) for Codeigniter 2.x+ |
[eluser]Needle[/eluser]
Okay, I feel like I'm close to finally having this working, but a final hurdle still has me stumped. All of the provided CJAX examples are working for me. When I try to mimic the click_ajax_request example in my setup, I'm not getting a response. I have a main controller application/controllers/click_ajax_request.php Code: <?php This loads my view application/views/click_ajax_request.php Code: <?php Which, upon clicking the link, is supposed to call my ajax controller application/response/click_response.php Code: <?php The view loads properly and it looks like Ajax is initializing properly with no errors in the inspector. Each time the link is clicked, the console prints: _call waits : caller: set.event cjax-5.5.min.js:278 Call executed. cjax-5.5.min.js:377 Waiting for response.. but the response never comes. The Chrome Network tab reports a 200 Status GET request has been fired, with the path http://dev.my-project:8888/ajax.php?click_response/click_button/hello Any idea what I'm missing here? I can't seem to get the ajax response to come back, even though when I try the straight CJAX example it works fine. Using: Codeigniter 2.1.4, AJAXFW 5.5 |
Welcome Guest, Not a member yet? Register Sign In |