Welcome Guest, Not a member yet? Register   Sign In
Chain selection with jquery-1.4.4.min does not work on v2.1.2, it works on v1.7.3
#2

[eluser]skunkbad[/eluser]
Because CodeIgniter simply outputs what you tell it to, and that includes HTML, CSS, and requests for javascript files, CodeIgniter itself is not responsible for any bugs you are experiencing. Those bugs would be in your own code, which could be in controllers, views, or javascript in various locations.

I normally use json_encode to send my responses back to the browser, and if the response is the sole parameter of the success function, and for demonstration purposes we name that parameter "response", then the "children" element of the $data array you have json encoded ends up being accessible via response.children.

If you were to show some code, we may be able to help you. Why not share your javascript, the method that processes the request in your controller, etc.

Also, keep in mind that if you have CI's CSRF protection turned on, you will need to send the token along with the request. I believe this was a major change between the two versions you are asking about.


Messages In This Thread
Chain selection with jquery-1.4.4.min does not work on v2.1.2, it works on v1.7.3 - by El Forum - 08-07-2012, 08:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB