Welcome Guest, Not a member yet? Register   Sign In
Javascript call from controller result possible?
#2

[eluser]Sector[/eluser]
[quote author="Robb__" date="1189879186"]
Code:
function anAjaxCall() {
$result ="testIfWorks('yes');";

return result;
}
[/quote]

Why don't you try something like:

Code:
function anAjaxCall() {
   $result ="testIfWorks('yes');";

   echo $result;
}

Because I think that returning your text doesn't do much :$


Messages In This Thread
Javascript call from controller result possible? - by El Forum - 09-15-2007, 06:59 AM
Javascript call from controller result possible? - by El Forum - 09-15-2007, 10:17 AM
Javascript call from controller result possible? - by El Forum - 09-17-2007, 05:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB