Dynamically loading content within a view |
[eluser]onecurlyfry[/eluser]
[quote author="Twisted1919" date="1286935407"]Ajax URL: are you saying that my Ajax URL is just a CI URL? e.g. www.site.com/feeds/get_content? EXACTLY . Finally, in the get_content method (in a hypothetical controller feeds)...am I literally returning a long htm string? If you like so YES(go into a foreach() and build your output), or you can load a view and return it's content into a variable then return that variable, it is really up to you . Of course, i hope you've noticed that you need jquery to make the ajax call.[/quote] Hey mate - thanks again. Yes, I was certainly planning on using jQuery for the ajax call. I'm not a pro at jQuery, but I've been working in it pretty steadily for a few months now, so that part of the equation wasn't the same kind of hard stop that this was. I think I have a pretty good handle on what to do. Many thanks, Scott |
Messages In This Thread |
Dynamically loading content within a view - by El Forum - 10-12-2010, 12:17 PM
Dynamically loading content within a view - by El Forum - 10-12-2010, 12:38 PM
Dynamically loading content within a view - by El Forum - 10-12-2010, 01:26 PM
Dynamically loading content within a view - by El Forum - 10-12-2010, 03:03 PM
Dynamically loading content within a view - by El Forum - 10-12-2010, 07:18 PM
Dynamically loading content within a view - by El Forum - 10-12-2010, 10:28 PM
|