Welcome Guest, Not a member yet? Register   Sign In
Controller echo response to Ajax request. Wrong?
#1

[eluser]jefc[/eluser]
Hi,

Is it wrong to have a controller method which has been invoked by an Ajax request respond with a straight echo? Then the success function in the Ajax request shoves this into a user message div somewhere.

A tiny bit of background - am trying to mould Ion Auth's password change facilities into an Ajax context. Although the question is obviously general in nature.

Thanks in advance for any input.
Geoff


Messages In This Thread
Controller echo response to Ajax request. Wrong? - by El Forum - 10-26-2012, 06:37 AM
Controller echo response to Ajax request. Wrong? - by El Forum - 10-26-2012, 08:20 AM
Controller echo response to Ajax request. Wrong? - by El Forum - 10-26-2012, 08:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB