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

[eluser]nuwanda[/eluser]
Relative urls work just fine, and yours is constructed correctly.

But, check the obvious things. Is that click event actually firing? Put an alert after it and see.

Also, check your js syntax very carefully. I've seen IE fail to execute code that other browsers process without a hitch, and it's usually syntax.

Yes, use firebug to check headers to see if the ajax is communicating with the server.

The ajax header constant is not required. It would be if you needed to test if the request to your method was via ajax or a regular page request. Not needed in this case.


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