I have been thinking about this. I am aware you can use json_encode(); to send an encoded array or multi-dimensional array via the jquery ajax call which will interpret the json array for you.
However I am not aware of any other techniques to send more than just a string using echo, print or return from PHP to the jQuery script?
Can someone please enlighten me on this?
Thanks,
Stefan