You could try return json encoded data from PHP, here's tutorial http://www.prodevtips.com/2008/08/15/jquery-json-with-php-json_encode-and-json_decode/
- [jQuery] $.ajax and responsed value... Lord Gustavo Miguel Angel
- [jQuery] Re: $.ajax and responsed value... Josip Lazic
- Re: [jQuery] Re: $.ajax and responsed v... Lord Gustavo Miguel Angel