Welcome Guest, Not a member yet? Register   Sign In
ajax with CI
#1

[eluser]philfry[/eluser]
I'm trying to re-write some code with CI. I previously had a php file that was referenced with anytime there was a post. I have been using the xmlextras.js in most of my html pages to basically populate dropdowns based on database queries. I think I will still be able to accomplish this but I'm unsure how to attack it. Also, in my javascript i had the typical

xmlHttp.Open ("GET" "someurl");

Are there any specific tutorials that I should read? I have a model setup and have tested to make sure I can do queries and print this in a view. I had a function in my old php file and I would assume I would need to re-create this in my model. I'm just not sure how to tell javascript to go to that model.

Thanks!




Theme © iAndrew 2016 - Forum software by © MyBB