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.