ajax requests with jquery -- help |
[eluser]bryantAXS[/eluser]
So I'm having some trouble with getting some ajax calls to work using jQuery. I had it working fine previously, but then I made some modifications to my .htacess file and a few more changes and now it seems to not be working. I think it has somthing to do with my .htaccess file - config.php and maybe routing.php? It would be great if someone could explain how ajax calls work with codeigniter and how they are routed to the controller. When my ajax call is fired in the page it looks to this url: http://localhost:888/realm/index.php/sit.../twitterTL It should be connecting to: http://localhost:888/realm/index.php/ajax/twitterTL actual ajax call Code: $.ajax({ Any help and explanation would be greatly appreciated! .htaccess Code: <IfModule mod_rewrite.c> config.php Code: $config['base_url'] = "http://localhost:8888/realm/"; routes.php Code: $route['default_controller'] = "site"; |
Messages In This Thread |
ajax requests with jquery -- help - by El Forum - 08-26-2009, 11:23 PM
ajax requests with jquery -- help - by El Forum - 08-26-2009, 11:47 PM
ajax requests with jquery -- help - by El Forum - 08-27-2009, 12:04 AM
ajax requests with jquery -- help - by El Forum - 08-27-2009, 01:15 AM
|