Welcome Guest, Not a member yet? Register   Sign In
calling a function within a view?
#1

[eluser]tjackson1982[/eluser]
Hello all,

I'm hitting a wall. I'm trying to combine mootool ajax with CI and it doesn't seem to be working.

very simply I'm doing something like this.

Code:
<div id="headlines">

"<"script language="JavaScript"">"

$('headlines').load('index.php/Display/display_headline/');

"<"/script">"

</div>

basically I'm trying to capture the output of a function and just load the html returned and place it in that element.

Is this even possible? If not how can I do something similar? please simple examples...

Thanks,
Tom J.


Messages In This Thread
calling a function within a view? - by El Forum - 02-11-2009, 06:19 PM
calling a function within a view? - by El Forum - 02-11-2009, 08:47 PM
calling a function within a view? - by El Forum - 02-11-2009, 10:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB