Welcome Guest, Not a member yet? Register   Sign In
JQuery, AJAX help.
#1

[eluser]rschla104[/eluser]
Hello,

I'm converting a previous project to CI. The old pages were only php files where the logic and view resided in the same page. I've come across a section where $.ajax is being used to retrieve a JSON object(which is just an array of strings) and then run a callback function to parse the strings and get them ready to be placed into a dropdown as selectable options.

What would be the best practice for porting this functionality to CI and maintaining the MVC pattern? Would it belong in the model or the controller?


Messages In This Thread
JQuery, AJAX help. - by El Forum - 02-24-2011, 11:34 AM
JQuery, AJAX help. - by El Forum - 02-24-2011, 03:50 PM
JQuery, AJAX help. - by El Forum - 02-28-2011, 12:31 PM
JQuery, AJAX help. - by El Forum - 02-28-2011, 01:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB